wok-6.x annotate libmpdclient/receipt @ rev 6036

icedtea6-jdk: use gjar
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 16 18:22:47 2010 +0200 (2010-08-16)
parents
children 6e30a94d60fe
rev   line source
erjo@4759 1 # SliTaz package receipt.
erjo@4759 2
erjo@4759 3 PACKAGE="libmpdclient"
erjo@4759 4 VERSION="2.1"
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"
erjo@4759 11 WGET_URL="$SF_MIRROR/musicpd/files/libmpdclient/$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