wok-current diff libtag/receipt @ rev 1860

Udpcast: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 15 21:38:53 2008 +0000 (2008-12-15)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libtag/receipt	Mon Dec 15 21:38:53 2008 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libtag"
     1.7 +SOURCE="taglib"
     1.8 +VERSION="1.5"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="TagLib is a library for reading and editing the meta-data of several popular audio formats."
    1.11 +MAINTAINER="chadi.elahmad@gmail.com"
    1.12 +
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://developer.kde.org/~wheeler/taglib.html"
    1.15 +WGET_URL="http://developer.kde.org/~wheeler/files/src/$TARBALL"
    1.16 +
    1.17 +DEPENDS="zlib "
    1.18 +BUILD_DEPENDS="zlib-dev "
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		--infodir=/usr/share/info \
    1.28 +		$CONFIGURE_ARGS
    1.29 +	make
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.38 +}