wok-next annotate libmpdclient/receipt @ rev 10066

warmux: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 05:14:25 2011 +0000 (2011-05-20)
parents 0f30a82f288f
children 4904e3d374a9
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"
erjo@4759 8 DEPENDS=""
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
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