wok-next annotate thunar-vfs/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | bdb992ec078a |
children | 8940878905f3 |
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" |
samuel_trassare@11876 | 6 SHORT_DESC="Thunar File Manager Libraries" |
erjo@8058 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
erjo@8058 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@8058 | 10 WEB_SITE="http://www.xfce.org" |
erjo@8058 | 11 WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL" |
erjo@8058 | 12 |
al@20454 | 13 DEPENDS="libpng16 jpeg libxfce4util dbus startup-notification xfce4-panel \ |
pankso@12481 | 14 gamin pcre libexif util-linux-uuid-dev hal" |
al@20454 | 15 BUILD_DEPENDS="libpng16-dev jpeg-dev libxfce4util-dev dbus-dev |
pascal@20262 | 16 startup-notification-dev xfce4-panel-dev zlib-dev intltool exo-dev dbus-glib-dev \ |
pankso@12481 | 17 util-linux-uuid-dev hal-dev" |
erjo@10019 | 18 |
erjo@8058 | 19 # Rules to configure and make the package. |
erjo@8058 | 20 compile_rules() |
erjo@8058 | 21 { |
erjo@8058 | 22 cd $src |
erjo@8058 | 23 ./configure --prefix=/usr \ |
erjo@8058 | 24 --sysconfdir=/etc \ |
erjo@8058 | 25 --enable-dbus \ |
erjo@8058 | 26 --enable-startup-notification \ |
erjo@8058 | 27 --disable-gnome-thumbnailers \ |
slaxemulator@10311 | 28 --enable-debug=no \ |
slaxemulator@10311 | 29 $CONFIGURE_ARGS && \ |
erjo@10019 | 30 make && make DESTDIR=$DESTDIR install |
erjo@8058 | 31 } |
erjo@8058 | 32 |
erjo@8058 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8058 | 34 genpkg_rules() |
erjo@8058 | 35 { |
erjo@8058 | 36 |
erjo@8058 | 37 mkdir -p $fs/usr \ |
erjo@8058 | 38 $fs/usr/share/locale \ |
erjo@8058 | 39 $fs/usr/lib/ \ |
erjo@8058 | 40 $fs/usr/share |
erjo@8058 | 41 |
pascal@15004 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15004 | 43 cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib |
erjo@8058 | 44 |
pascal@15004 | 45 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@15004 | 46 cp -a $install/usr/share/thumbnailers $fs/usr/share |
erjo@8058 | 47 |
erjo@8058 | 48 # Strip all |
erjo@8058 | 49 find $fs/usr/lib -exec strip -s {} 2> /dev/null \; |
erjo@8058 | 50 } |
erjo@8058 | 51 |