wok-current annotate ario/receipt @ rev 12873
ario: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 25 10:20:55 2012 +0200 (2012-05-25) |
parents | c192feb5266a |
children | 380ffe05937a |
rev | line source |
---|---|
erjo@2888 | 1 # SliTaz package receipt. |
erjo@2888 | 2 |
erjo@2888 | 3 PACKAGE="ario" |
slaxemulator@12868 | 4 VERSION="1.5.1" |
erjo@2888 | 5 CATEGORY="multimedia" |
samuel_trassare@12048 | 6 SHORT_DESC="GTK client for MPD" |
erjo@2888 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@2888 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@2888 | 9 WEB_SITE="http://ario-player.sourceforge.net/index.php?en" |
erjo@2888 | 10 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL" |
jozee@3563 | 11 TAGS="music audio player mp3 ogg" |
erjo@2888 | 12 |
pankso@9813 | 13 DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \ |
pankso@9813 | 14 libunique libtasn1" |
slaxemulator@12868 | 15 BUILD_DEPENDS="glib-dev gtk+-dev gnutls-dev taglib-dev intltool libunique-dev \ |
pankso@10445 | 16 libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev" |
pankso@9813 | 17 |
erjo@2888 | 18 # Rules to configure and make the package. |
erjo@2888 | 19 compile_rules() |
erjo@2888 | 20 { |
erjo@2888 | 21 cd $src |
pascal@12873 | 22 sed -i 's|.glib/gslist.h.|<glib.h>|' src/ario-util.h src/ario-profiles.h |
pascal@12873 | 23 sed -i 's|<glib/gkeyfile.h>|<glib.h>|' src/plugins/ario-plugin-info.c |
erjo@2888 | 24 ./configure \ |
erjo@2888 | 25 --prefix=/usr \ |
erjo@2888 | 26 --infodir=/usr/share/info \ |
erjo@2888 | 27 --mandir=/usr/share/man \ |
erjo@2888 | 28 --disable-dbus \ |
erjo@2888 | 29 --disable-notify \ |
@11652 | 30 --disable-mpdidle \ |
erjo@2888 | 31 --disable-audioscrobbler \ |
erjo@2888 | 32 --disable-avahi \ |
erjo@2888 | 33 $CONFIGURE_ARGS && |
slaxemulator@12868 | 34 make -j1 && make -j1 DESTDIR=$DESTDIR install |
erjo@2888 | 35 } |
erjo@2888 | 36 |
erjo@2888 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2888 | 38 genpkg_rules() |
erjo@2888 | 39 { |
erjo@2888 | 40 mkdir -p $fs/usr/share/locale/ |
erjo@2888 | 41 |
erjo@2888 | 42 cp -a $_pkg/usr/bin $fs/usr |
erjo@2888 | 43 cp -a $_pkg/usr/lib $fs/usr |
erjo@2888 | 44 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2888 | 45 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2888 | 46 cp -a $_pkg/usr/share/ario $fs/usr/share |
erjo@2888 | 47 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
gokhlayeh@9470 | 48 |
erjo@2888 | 49 # Cleanup |
erjo@2888 | 50 rm -f $fs/usr/lib/ario/plugins/*.?a |
erjo@2888 | 51 } |
erjo@2888 | 52 |