wok-current annotate id3lib/receipt @ rev 17788

Up: nspr 4.10.8
author Alexander Medvedev <devl547@gmail.com>
date Sat Mar 14 21:47:18 2015 +0000 (2015-03-14)
parents d1768332cee0
children ba7cbdb5749c
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"
pascal@15600 8 LICENSE="GPL2"
pankso@293 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15600 10 WEB_SITE="http://id3lib.sourceforge.net/"
pascal@15600 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15600 12
pascal@5002 13 DEPENDS="zlib gcc-lib-base"
pascal@1447 14 BUILD_DEPENDS="zlib-dev"
pankso@293 15
pankso@293 16 # Rules to configure and make the package.
pankso@293 17 compile_rules()
pankso@293 18 {
pankso@293 19 cd $src
slaxemulator@9700 20 patch -p1 -i $stuff/id3lib-$VERSION-gcc-4.4.patch || return 1
pankso@293 21 ./configure \
pankso@293 22 --prefix=/usr \
pascal@1447 23 $CONFIGURE_ARGS &&
pascal@1447 24 make &&
pascal@15600 25 make DESTDIR=$DESTDIR install
pankso@293 26 }
pankso@293 27
pankso@293 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@293 29 genpkg_rules()
pankso@293 30 {
pankso@293 31 mkdir -p $fs/usr/lib
pascal@15600 32 cp -a $install/usr/bin $fs/usr
pascal@15600 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@293 34 }