wok-stable rev 2888

Add: Ario. GTK client for MPD
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue May 05 01:50:51 2009 +0200 (2009-05-05)
parents a4c000f30190
children f49b74c50582
files ario/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ario/receipt	Tue May 05 01:50:51 2009 +0200
     1.3 @@ -0,0 +1,51 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ario"
     1.7 +VERSION="1.2.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="GTK clien for MPD"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libgcrypt"
    1.12 +BUILD_DEPENDS="libgcrypt-dev libglade-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://ario-player.sourceforge.net/index.php?en"
    1.15 +WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--infodir=/usr/share/info \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		--disable-dbus \
    1.26 +		--disable-notify \
    1.27 +		--disable-audioscrobbler \
    1.28 +		--disable-avahi \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make && make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/share/locale/
    1.37 +	
    1.38 +	cp -a $_pkg/usr/bin $fs/usr
    1.39 +	cp -a $_pkg/usr/lib $fs/usr
    1.40 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.41 +	cp -a $_pkg/usr/share/icons $fs/usr/share
    1.42 +	cp -a $_pkg/usr/share/ario $fs/usr/share
    1.43 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.44 +	
    1.45 +	strip -s $fs/usr/lib/ario/plugins/*.so
    1.46 +	
    1.47 +	# Cleanup
    1.48 +	rm -f $fs/usr/lib/ario/plugins/*.?a
    1.49 +
    1.50 +	strip -s $fs/usr/lib/ario/plugins/*.so
    1.51 +	
    1.52 +	
    1.53 +}
    1.54 +