wok-stable view thunar/receipt @ rev 4942
add/improve TAGS k* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 15:48:54 2010 +0000 (2010-02-16) |
parents | 46f54ecdbbda |
children | 866fa2493b1b |
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 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev
10 libexo-dev startup-notification-dev xfce4-panel-dev zlib-dev"
11 SOURCE="Thunar"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.xfce.org"
14 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --enable-dbus \
23 --enable-startup-notification \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --enable-debug=no && \
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
33 mkdir -p $fs/usr \
34 $fs/usr/share/locale \
35 $fs/usr/lib/thunarx-1
37 cp -a $_pkg/etc $fs/
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 cp -a $_pkg/usr/lib/thunarx-1/*.so* $fs/usr/lib/thunarx-1
43 cp -a $_pkg/usr/share/applications $fs/usr/share
44 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
45 cp -a $_pkg/usr/share/icons $fs/usr/share
46 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
47 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
48 cp -a $_pkg/usr/share/thumbnailers $fs/usr/share
49 cp -a $_pkg/usr/share/Thunar $fs/usr/share
50 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
52 # Strip all
53 find $fs/usr/lib/thunar -exec strip -s {} 2> /dev/null \;
54 }