wok annotate id3lib/receipt @ rev 9713

glibc: make it built with cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 23:21:20 2011 +0200 (2011-05-08)
parents 0b4cf0d9e1b5
children de49f29b101e
rev   line source
pankso@293 1 # SliTaz package receipt.
pankso@293 2
pankso@293 3 PACKAGE="id3lib"
pankso@293 4 VERSION="3.8.3"
pankso@293 5 CATEGORY="multimedia"
pankso@293 6 SHORT_DESC="Library to manipulate ID3v1 and ID3v2 tags."
pankso@293 7 MAINTAINER="pankso@slitaz.org"
pankso@293 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@5002 9 DEPENDS="zlib gcc-lib-base"
pascal@1447 10 BUILD_DEPENDS="zlib-dev"
pankso@293 11 WEB_SITE="http://id3lib.sourceforge.net/"
pankso@293 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@293 13
pankso@293 14 # Rules to configure and make the package.
pankso@293 15 compile_rules()
pankso@293 16 {
pankso@293 17 cd $src
slaxemulator@9700 18 patch -p1 -i $stuff/id3lib-$VERSION-gcc-4.4.patch || return 1
pankso@293 19 ./configure \
pankso@293 20 --prefix=/usr \
pascal@1447 21 $CONFIGURE_ARGS &&
pascal@1447 22 make &&
pankso@293 23 make DESTDIR=$PWD/_pkg install
pankso@293 24 }
pankso@293 25
pankso@293 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@293 27 genpkg_rules()
pankso@293 28 {
pankso@293 29 mkdir -p $fs/usr/lib
pankso@293 30 cp -a $_pkg/usr/bin $fs/usr
pankso@293 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@293 32 }
pankso@293 33