wok-next diff ario/receipt @ rev 20698
tor: oh, I see there is DEPENDS below
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed May 23 15:22:22 2018 +0000 (2018-05-23) |
parents | 380ffe05937a |
children | c4cd004842d1 |
line diff
1.1 --- a/ario/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/ario/receipt Wed May 23 15:22:22 2018 +0000 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ario" 1.8 VERSION="1.5.1" 1.9 @@ -6,48 +6,33 @@ 1.10 SHORT_DESC="GTK client for MPD" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://ario-player.sourceforge.net/index.php?en" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://ario-player.sourceforge.net/index.php?en" 1.17 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL" 1.18 -TAGS="music audio player mp3 ogg" 1.19 1.20 -DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \ 1.21 -libunique libtasn1" 1.22 BUILD_DEPENDS="glib-dev gtk+-dev gnutls-dev taglib-dev intltool libunique-dev \ 1.23 libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cd $src 1.29 +compile_rules() { 1.30 sed -i 's|.glib/gslist.h.|<glib.h>|' src/ario-util.h src/ario-profiles.h 1.31 sed -i 's|<glib/gkeyfile.h>|<glib.h>|' src/plugins/ario-plugin-info.c 1.32 + 1.33 ./configure \ 1.34 - --prefix=/usr \ 1.35 - --infodir=/usr/share/info \ 1.36 - --mandir=/usr/share/man \ 1.37 --disable-dbus \ 1.38 --disable-notify \ 1.39 --disable-mpdidle \ 1.40 --disable-audioscrobbler \ 1.41 --disable-avahi \ 1.42 $CONFIGURE_ARGS && 1.43 - make -j1 && make -j1 DESTDIR=$DESTDIR install 1.44 + fix libtool && 1.45 + make -j1 && 1.46 + make -j1 DESTDIR=$DESTDIR install 1.47 } 1.48 1.49 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.50 -genpkg_rules() 1.51 -{ 1.52 - mkdir -p $fs/usr/share/locale/ 1.53 - 1.54 - cp -a $install/usr/bin $fs/usr 1.55 - cp -a $install/usr/lib $fs/usr 1.56 - cp -a $install/usr/share/applications $fs/usr/share 1.57 - cp -a $install/usr/share/icons $fs/usr/share 1.58 - cp -a $install/usr/share/ario $fs/usr/share 1.59 - cp -a $install/usr/share/locale/fr $fs/usr/share/locale 1.60 - 1.61 - # Cleanup 1.62 - rm -f $fs/usr/lib/ario/plugins/*.?a 1.63 +genpkg_rules() { 1.64 + copy @std 1.65 + DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \ 1.66 + libunique libtasn1" 1.67 + TAGS="music audio player mp3 ogg" 1.68 } 1.69 -