wok annotate libmpd/receipt @ rev 11610
linux: use lzma compression (xz does not build)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 20 23:37:52 2012 +0100 (2012-01-20) |
parents | 562586658eb4 |
children | 4904e3d374a9 |
rev | line source |
---|---|
jozee@4500 | 1 # SliTaz package receipt. |
jozee@4500 | 2 |
jozee@4500 | 3 PACKAGE="libmpd" |
slaxemulator@6380 | 4 VERSION="0.20.0" |
jozee@4500 | 5 CATEGORY="multimedia" |
jozee@4500 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4500 | 7 SHORT_DESC="Signal based wrapper around libmpdclient" |
jozee@4500 | 8 WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client" |
jozee@4500 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5003 | 10 DEPENDS="glib" |
slaxemulator@6380 | 11 BUILD_DEPENDS="pkg-config glib-dev" |
jozee@4500 | 12 WGET_URL="http://download.sarine.nl/Programs/gmpc/$VERSION/$TARBALL" |
jozee@4500 | 13 TAGS="" |
jozee@4500 | 14 |
jozee@4500 | 15 # Rules to configure and make the package. |
jozee@4500 | 16 |
jozee@4500 | 17 compile_rules() { |
jozee@4500 | 18 cd $src |
gokhlayeh@11573 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
jozee@4500 | 20 make && |
jozee@4500 | 21 make DESTDIR=$PWD/_pkg install |
jozee@4500 | 22 } |
jozee@4500 | 23 |
jozee@4500 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4500 | 25 genpkg_rules() |
jozee@4500 | 26 { |
gokhlayeh@11573 | 27 mkdir -p $fs/usr/lib |
gokhlayeh@11573 | 28 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ |
jozee@4500 | 29 } |