wok-next annotate ario/receipt @ rev 3529
tazbb: Dont clean-up on each commit (only once a night on Tank)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 22 02:07:46 2009 +0200 (2009-06-22) |
parents | d641c8afb834 |
children | 2bbc0ef3f1d2 |
rev | line source |
---|---|
erjo@2888 | 1 # SliTaz package receipt. |
erjo@2888 | 2 |
erjo@2888 | 3 PACKAGE="ario" |
erjo@2888 | 4 VERSION="1.2.2" |
erjo@2888 | 5 CATEGORY="multimedia" |
erjo@2888 | 6 SHORT_DESC="GTK clien for MPD" |
erjo@2888 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2902 | 8 DEPENDS="libgcrypt gtk+ libcurl libglade" |
erjo@2888 | 9 BUILD_DEPENDS="libgcrypt-dev libglade-dev" |
erjo@2888 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@2888 | 11 WEB_SITE="http://ario-player.sourceforge.net/index.php?en" |
erjo@2888 | 12 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL" |
erjo@2888 | 13 |
erjo@2888 | 14 # Rules to configure and make the package. |
erjo@2888 | 15 compile_rules() |
erjo@2888 | 16 { |
erjo@2888 | 17 cd $src |
erjo@2888 | 18 ./configure \ |
erjo@2888 | 19 --prefix=/usr \ |
erjo@2888 | 20 --infodir=/usr/share/info \ |
erjo@2888 | 21 --mandir=/usr/share/man \ |
erjo@2888 | 22 --disable-dbus \ |
erjo@2888 | 23 --disable-notify \ |
erjo@2888 | 24 --disable-audioscrobbler \ |
erjo@2888 | 25 --disable-avahi \ |
erjo@2888 | 26 $CONFIGURE_ARGS && |
erjo@2888 | 27 make && make DESTDIR=$PWD/_pkg install |
erjo@2888 | 28 } |
erjo@2888 | 29 |
erjo@2888 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2888 | 31 genpkg_rules() |
erjo@2888 | 32 { |
erjo@2888 | 33 mkdir -p $fs/usr/share/locale/ |
erjo@2888 | 34 |
erjo@2888 | 35 cp -a $_pkg/usr/bin $fs/usr |
erjo@2888 | 36 cp -a $_pkg/usr/lib $fs/usr |
erjo@2888 | 37 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2888 | 38 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2888 | 39 cp -a $_pkg/usr/share/ario $fs/usr/share |
erjo@2888 | 40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2888 | 41 |
erjo@2888 | 42 strip -s $fs/usr/lib/ario/plugins/*.so |
erjo@2888 | 43 |
erjo@2888 | 44 # Cleanup |
erjo@2888 | 45 rm -f $fs/usr/lib/ario/plugins/*.?a |
erjo@2888 | 46 |
erjo@2888 | 47 strip -s $fs/usr/lib/ario/plugins/*.so |
erjo@2888 | 48 |
erjo@2888 | 49 |
erjo@2888 | 50 } |
erjo@2888 | 51 |