wok-6.x annotate thunar-vfs/receipt @ rev 9964
gcc+gcj: should fix build (not tested too slow on my laptop)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 16:06:04 2011 +0200 (2011-05-18) |
parents | |
children | f9817eda4acb |
rev | line source |
---|---|
erjo@8058 | 1 # SliTaz package receipt. |
erjo@8058 | 2 |
erjo@8058 | 3 PACKAGE="thunar-vfs" |
erjo@8058 | 4 VERSION="1.2.0" |
erjo@8058 | 5 CATEGORY="x-window" |
erjo@8058 | 6 SHORT_DESC="Thnuar File Manager Libraries" |
erjo@8058 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@8058 | 8 DEPENDS="libpng jpeg libxfce4util dbus startup-notification xfce4-panel \ |
erjo@8058 | 9 gamin pcre libexif" |
erjo@8058 | 10 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev |
erjo@8058 | 11 startup-notification-dev xfce4-panel-dev zlib-dev intltool" |
erjo@8058 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@8058 | 13 WEB_SITE="http://www.xfce.org" |
erjo@8058 | 14 WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL" |
erjo@8058 | 15 TAGS="file-manager file-browser" |
erjo@8058 | 16 |
erjo@8058 | 17 # Rules to configure and make the package. |
erjo@8058 | 18 compile_rules() |
erjo@8058 | 19 { |
erjo@8058 | 20 cd $src |
erjo@8058 | 21 ./configure --prefix=/usr \ |
erjo@8058 | 22 --sysconfdir=/etc \ |
erjo@8058 | 23 --enable-dbus \ |
erjo@8058 | 24 --enable-startup-notification \ |
erjo@8058 | 25 --disable-gnome-thumbnailers \ |
erjo@8058 | 26 --enable-debug=no && \ |
erjo@8058 | 27 make && make DESTDIR=$PWD/_pkg install |
erjo@8058 | 28 } |
erjo@8058 | 29 |
erjo@8058 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8058 | 31 genpkg_rules() |
erjo@8058 | 32 { |
erjo@8058 | 33 |
erjo@8058 | 34 mkdir -p $fs/usr \ |
erjo@8058 | 35 $fs/usr/share/locale \ |
erjo@8058 | 36 $fs/usr/lib/ \ |
erjo@8058 | 37 $fs/usr/share |
erjo@8058 | 38 |
erjo@8058 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@8058 | 40 cp -a $_pkg/usr/lib/thunar-vfs-1 $fs/usr/lib |
erjo@8058 | 41 |
erjo@8058 | 42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@8058 | 43 cp -a $_pkg/usr/share/thumbnailers $fs/usr/share |
erjo@8058 | 44 |
erjo@8058 | 45 # Strip all |
erjo@8058 | 46 find $fs/usr/lib -exec strip -s {} 2> /dev/null \; |
erjo@8058 | 47 } |
erjo@8058 | 48 |