wok-next view thunar/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents 866fa2493b1b
children 158c8f134538
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar"
4 VERSION="1.0.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Thnuar File Manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libpng jpeg libxfce4util dbus libexo startup-notification xfce4-panel \
9 gamin GConf pcre libexif"
10 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev
11 libexo-dev startup-notification-dev xfce4-panel-dev zlib-dev"
12 SOURCE="Thunar"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.xfce.org"
15 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL"
16 TAGS="file-manager file-browser"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --enable-dbus \
25 --enable-startup-notification \
26 --libexecdir=/usr/lib/$PACKAGE \
27 --enable-debug=no && \
28 make && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
35 mkdir -p $fs/usr \
36 $fs/usr/share/locale \
37 $fs/usr/lib/thunarx-1
39 cp -a $_pkg/etc $fs/
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 cp -a $_pkg/usr/lib/thunarx-1/*.so* $fs/usr/lib/thunarx-1
45 cp -a $_pkg/usr/share/applications $fs/usr/share
46 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
47 cp -a $_pkg/usr/share/icons $fs/usr/share
48 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
49 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
50 cp -a $_pkg/usr/share/thumbnailers $fs/usr/share
51 cp -a $_pkg/usr/share/Thunar $fs/usr/share
52 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
54 # Strip all
55 find $fs/usr/lib/thunar -exec strip -s {} 2> /dev/null \;
56 }