wok-6.x annotate thunar-volman/receipt @ rev 14871
musl-libc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 23 09:36:13 2013 +0000 (2013-07-23) |
parents | af384d8f64d1 |
children | 380ffe05937a |
rev | line source |
---|---|
erjo@2072 | 1 # SliTaz package receipt. |
erjo@2072 | 2 |
erjo@2072 | 3 PACKAGE="thunar-volman" |
erjo@14833 | 4 VERSION="0.8.0" |
erjo@2072 | 5 CATEGORY="x-window" |
erjo@4145 | 6 SHORT_DESC="Thunar Volume Manager plugin" |
erjo@2072 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@2072 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2072 | 9 WEB_SITE="http://foo-projects.org/~benny/projects/thunar-archive-plugin/index.html" |
pascal@14837 | 10 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL" |
erjo@2072 | 11 |
erjo@10020 | 12 DEPENDS="thunar libxfce4ui startup-notification" |
erjo@10020 | 13 BUILD_DEPENDS="thunar-dev glibc-locale intltool libexo-dev libgudev-dev libxfce4ui-dev \ |
erjo@14833 | 14 xfconf-dev startup-notification-dev util-linux-uuid-dev libxml2-dev libnotify-dev |
erjo@14833 | 15 libxfce4util-dev" |
erjo@10020 | 16 |
erjo@2072 | 17 # Rules to configure and make the package. |
erjo@2072 | 18 compile_rules() |
erjo@2072 | 19 { |
erjo@2072 | 20 cd $src |
erjo@14833 | 21 ./configure \ |
erjo@14833 | 22 --prefix=/usr \ |
erjo@14833 | 23 --disable-debug \ |
erjo@14833 | 24 --enable-notifications \ |
erjo@14833 | 25 --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \ |
erjo@14833 | 26 make && make install |
erjo@2072 | 27 } |
erjo@2072 | 28 |
erjo@2072 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2072 | 30 genpkg_rules() |
erjo@2072 | 31 { |
pascal@4234 | 32 mkdir -p $fs/usr/share/locale $fs/usr/lib |
erjo@2072 | 33 |
erjo@14833 | 34 cp -a $install/usr/bin $fs/usr |
erjo@14833 | 35 cp -a $install/usr/share/applications $fs/usr/share |
erjo@14833 | 36 cp -a $install/usr/share/icons $fs/usr/share |
erjo@14833 | 37 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
erjo@14833 | 38 |
erjo@14833 | 39 #gtk-update-icon-cache -f -t $fs/usr/share/icons/hicolor |
erjo@2072 | 40 } |
erjo@2072 | 41 |