wok annotate libmpdclient/receipt @ rev 15958
Add nsd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 20:33:22 2014 +0000 (2014-02-23) |
parents | 4904e3d374a9 |
children | 1a0b3262dccf |
rev | line source |
---|---|
erjo@4759 | 1 # SliTaz package receipt. |
erjo@4759 | 2 |
erjo@4759 | 3 PACKAGE="libmpdclient" |
slaxemulator@7959 | 4 VERSION="2.4" |
erjo@4759 | 5 CATEGORY="system-tools" |
erjo@4759 | 6 SHORT_DESC="C & C++ API library for MPD." |
erjo@4759 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15473 | 8 LICENSE="BSD" |
slaxemulator@7676 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4759 | 10 WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient" |
slaxemulator@6381 | 11 WGET_URL="$SF_MIRROR/musicpd/$VERSION/$TARBALL" |
erjo@4759 | 12 |
pascal@14714 | 13 DEPENDS="" |
pascal@14714 | 14 |
erjo@4759 | 15 # Rules to configure and make the package. |
erjo@4759 | 16 compile_rules() |
erjo@4759 | 17 { |
erjo@4759 | 18 cd $src |
erjo@4759 | 19 ./configure \ |
erjo@4759 | 20 --prefix=/usr \ |
erjo@4759 | 21 --infodir=/usr/share/info \ |
erjo@4759 | 22 --mandir=/usr/share/man \ |
erjo@4759 | 23 $CONFIGURE_ARGS && |
pascal@14714 | 24 make && make DESTDIR=$DESTDIR install |
erjo@4759 | 25 } |
erjo@4759 | 26 |
erjo@4759 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4759 | 28 genpkg_rules() |
erjo@4759 | 29 { |
erjo@4759 | 30 mkdir -p $fs/usr/lib |
pascal@14714 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@4759 | 32 } |
erjo@4759 | 33 |