wok annotate thunar/receipt @ rev 18449
newsbeuter: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 21:35:58 2015 +0200 (2015-09-26) |
parents | 77c872ed3f55 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
erjo@4144 | 1 # SliTaz package receipt. |
erjo@4144 | 2 |
erjo@4144 | 3 PACKAGE="thunar" |
erjo@14832 | 4 VERSION="1.4.0" |
erjo@4144 | 5 CATEGORY="x-window" |
gokhlayeh@8063 | 6 SHORT_DESC="Thunar File Manager" |
erjo@4144 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@4144 | 9 SOURCE="Thunar" |
erjo@4144 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@4144 | 11 WEB_SITE="http://www.xfce.org" |
slaxemulator@8289 | 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@17501 | 13 TAGS="file-manager" |
erjo@4144 | 14 |
erjo@14832 | 15 DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \ |
erjo@14832 | 16 gamin libxfce4ui startup-notification util-linux-uuid libnotify" |
erjo@14832 | 17 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \ |
erjo@14832 | 18 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \ |
erjo@14832 | 19 startup-notification-dev util-linux-uuid-dev libnotify-dev" |
erjo@9922 | 20 |
erjo@4144 | 21 # Rules to configure and make the package. |
erjo@4144 | 22 compile_rules() |
erjo@4144 | 23 { |
pankso@12726 | 24 ./configure \ |
pankso@12726 | 25 --prefix=/usr \ |
erjo@4144 | 26 --sysconfdir=/etc \ |
erjo@4144 | 27 --enable-dbus \ |
erjo@4144 | 28 --enable-startup-notification \ |
erjo@8019 | 29 --enable-notifications \ |
erjo@14832 | 30 --enable-gio-unix \ |
erjo@8019 | 31 --enable-gudev \ |
erjo@9922 | 32 --libexecdir=/usr/lib \ |
slaxemulator@10310 | 33 --enable-debug=no \ |
pankso@12726 | 34 $CONFIGURE_ARGS && |
erjo@14832 | 35 make && make install |
erjo@4144 | 36 } |
erjo@4144 | 37 |
erjo@4144 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4144 | 39 genpkg_rules() |
erjo@4144 | 40 { |
al@17123 | 41 mkdir -p \ |
al@17123 | 42 $fs/usr/share \ |
erjo@8019 | 43 $fs/usr/lib/thunarx-2 |
erjo@4144 | 44 |
al@17123 | 45 cp -a $install/etc $fs |
pankso@12726 | 46 cp -a $install/usr/bin $fs/usr |
pankso@12726 | 47 |
pankso@12726 | 48 cp -a $install/usr/lib/Thunar $fs/usr/lib |
pankso@12726 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12726 | 50 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2 |
al@17123 | 51 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pankso@12726 | 52 |
pankso@12726 | 53 cp -a $install/usr/share/applications $fs/usr/share |
pankso@12726 | 54 cp -a $install/usr/share/icons $fs/usr/share |
pankso@12726 | 55 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@12726 | 56 cp -a $install/usr/share/Thunar $fs/usr/share |
erjo@4144 | 57 } |
erjo@4144 | 58 |