wok annotate thunar/receipt @ rev 4973
add/improve TAGS t* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 24 12:13:18 2010 +0000 (2010-02-24) |
parents | 6ad012ca7518 |
children | 4897058add72 |
rev | line source |
---|---|
erjo@4144 | 1 # SliTaz package receipt. |
erjo@4144 | 2 |
erjo@4144 | 3 PACKAGE="thunar" |
erjo@4144 | 4 VERSION="1.0.1" |
erjo@4144 | 5 CATEGORY="x-window" |
erjo@4144 | 6 SHORT_DESC="Thnuar File Manager" |
erjo@4144 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@4144 | 8 DEPENDS="libpng jpeg libxfce4util dbus libexo startup-notification xfce4-panel" |
erjo@4144 | 9 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev |
erjo@4144 | 10 libexo-dev startup-notification-dev xfce4-panel-dev zlib-dev" |
erjo@4144 | 11 SOURCE="Thunar" |
erjo@4144 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@4144 | 13 WEB_SITE="http://www.xfce.org" |
erjo@4144 | 14 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL" |
jozee@4973 | 15 TAGS="file-manager file-browser" |
erjo@4144 | 16 |
erjo@4144 | 17 # Rules to configure and make the package. |
erjo@4144 | 18 compile_rules() |
erjo@4144 | 19 { |
erjo@4144 | 20 cd $src |
erjo@4144 | 21 ./configure --prefix=/usr \ |
erjo@4144 | 22 --sysconfdir=/etc \ |
erjo@4144 | 23 --enable-dbus \ |
erjo@4144 | 24 --enable-startup-notification \ |
pascal@4218 | 25 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@4144 | 26 --enable-debug=no && \ |
erjo@4144 | 27 make && make DESTDIR=$PWD/_pkg install |
erjo@4144 | 28 } |
erjo@4144 | 29 |
erjo@4144 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4144 | 31 genpkg_rules() |
erjo@4144 | 32 { |
erjo@4144 | 33 |
erjo@4144 | 34 mkdir -p $fs/usr \ |
erjo@4144 | 35 $fs/usr/share/locale \ |
erjo@4144 | 36 $fs/usr/lib/thunarx-1 |
erjo@4144 | 37 |
erjo@4144 | 38 cp -a $_pkg/etc $fs/ |
erjo@4144 | 39 cp -a $_pkg/usr/bin $fs/usr |
pascal@4218 | 40 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
erjo@4144 | 41 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@4144 | 42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@4144 | 43 cp -a $_pkg/usr/lib/thunarx-1/*.so* $fs/usr/lib/thunarx-1 |
erjo@4144 | 44 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@4144 | 45 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
erjo@4144 | 46 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@4144 | 47 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@4144 | 48 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@4144 | 49 cp -a $_pkg/usr/share/thumbnailers $fs/usr/share |
erjo@4144 | 50 cp -a $_pkg/usr/share/Thunar $fs/usr/share |
erjo@4144 | 51 cp -a $_pkg/usr/share/xfce4 $fs/usr/share |
erjo@4874 | 52 |
erjo@4874 | 53 # Strip all |
erjo@4874 | 54 find $fs/usr/lib/thunar -exec strip -s {} 2> /dev/null \; |
erjo@4144 | 55 } |
erjo@4144 | 56 |