wok-current annotate id3lib/receipt @ rev 12703

slitaz-base-files: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 04 09:08:34 2012 +0200 (2012-05-04)
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