wok-next annotate libmpdclient/receipt @ rev 6977

Fixed linux-source again (i hope).
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 28 05:47:06 2010 +0000 (2010-10-28)
parents 95b431e1d1f8
children 0f30a82f288f
rev   line source
erjo@4759 1 # SliTaz package receipt.
erjo@4759 2
erjo@4759 3 PACKAGE="libmpdclient"
slaxemulator@6381 4 VERSION="2.2"
erjo@4759 5 CATEGORY="system-tools"
erjo@4759 6 SHORT_DESC="C & C++ API library for MPD."
erjo@4759 7 MAINTAINER="erjo@slitaz.org"
erjo@4759 8 DEPENDS=""
erjo@4759 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
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
erjo@4759 13 # Rules to configure and make the package.
erjo@4759 14 compile_rules()
erjo@4759 15 {
erjo@4759 16 cd $src
erjo@4759 17 ./configure \
erjo@4759 18 --prefix=/usr \
erjo@4759 19 --infodir=/usr/share/info \
erjo@4759 20 --mandir=/usr/share/man \
erjo@4759 21 $CONFIGURE_ARGS &&
erjo@4759 22 make && make DESTDIR=$PWD/_pkg install
erjo@4759 23 }
erjo@4759 24
erjo@4759 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4759 26 genpkg_rules()
erjo@4759 27 {
erjo@4759 28 mkdir -p $fs/usr/lib
erjo@4759 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@4759 30 }
erjo@4759 31