wok annotate id3lib/receipt @ rev 3522

tazdev+tazpkg-web: Tiny fix and clean up
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 21 03:56:11 2009 +0200 (2009-06-21)
parents d4b11bc7b0e1
children 8d3f3ded1725
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"
pankso@3345 9 DEPENDS="zlib"
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
pankso@3345 18 patch -p1 -i ../stuff/id3lib-$VERSION-gcc-4.4.patch || exit 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