wok annotate ario/receipt @ rev 9221
spidermonkey-dev: fix /usr/include path (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 17:06:22 2011 +0100 (2011-03-11) |
parents | 4d12569d8cb2 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
erjo@2888 | 1 # SliTaz package receipt. |
erjo@2888 | 2 |
erjo@2888 | 3 PACKAGE="ario" |
slaxemulator@8762 | 4 VERSION="1.5" |
erjo@2888 | 5 CATEGORY="multimedia" |
erjo@2888 | 6 SHORT_DESC="GTK clien for MPD" |
erjo@2888 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@4998 | 8 DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \ |
pascal@5026 | 9 gcc-lib-base libunique libtasn1" |
slaxemulator@8762 | 10 BUILD_DEPENDS="glib-dev gtk+-dev gnutls-dev taglib-dev intltool" |
erjo@2888 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@2888 | 12 WEB_SITE="http://ario-player.sourceforge.net/index.php?en" |
erjo@2888 | 13 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL" |
jozee@3563 | 14 TAGS="music audio player mp3 ogg" |
erjo@2888 | 15 |
erjo@2888 | 16 # Rules to configure and make the package. |
erjo@2888 | 17 compile_rules() |
erjo@2888 | 18 { |
erjo@2888 | 19 cd $src |
erjo@2888 | 20 ./configure \ |
erjo@2888 | 21 --prefix=/usr \ |
erjo@2888 | 22 --infodir=/usr/share/info \ |
erjo@2888 | 23 --mandir=/usr/share/man \ |
erjo@2888 | 24 --disable-dbus \ |
erjo@2888 | 25 --disable-notify \ |
erjo@2888 | 26 --disable-audioscrobbler \ |
erjo@2888 | 27 --disable-avahi \ |
erjo@2888 | 28 $CONFIGURE_ARGS && |
slaxemulator@8762 | 29 make -j1 && make -j1 DESTDIR=$PWD/_pkg install |
erjo@2888 | 30 } |
erjo@2888 | 31 |
erjo@2888 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2888 | 33 genpkg_rules() |
erjo@2888 | 34 { |
erjo@2888 | 35 mkdir -p $fs/usr/share/locale/ |
erjo@2888 | 36 |
erjo@2888 | 37 cp -a $_pkg/usr/bin $fs/usr |
erjo@2888 | 38 cp -a $_pkg/usr/lib $fs/usr |
erjo@2888 | 39 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2888 | 40 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2888 | 41 cp -a $_pkg/usr/share/ario $fs/usr/share |
erjo@2888 | 42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2888 | 43 |
erjo@2888 | 44 strip -s $fs/usr/lib/ario/plugins/*.so |
erjo@2888 | 45 |
erjo@2888 | 46 # Cleanup |
erjo@2888 | 47 rm -f $fs/usr/lib/ario/plugins/*.?a |
erjo@2888 | 48 |
erjo@2888 | 49 strip -s $fs/usr/lib/ario/plugins/*.so |
erjo@2888 | 50 |
erjo@2888 | 51 |
erjo@2888 | 52 } |
erjo@2888 | 53 |