wok-6.x annotate libmpdclient/receipt @ rev 6389
Fixed some depends problems when building gtk-vnc. Like added libtasn1 to libtasn1-dev. Some builds need the .so files and the headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 23 18:31:29 2010 +0000 (2010-09-23) |
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 |