wok-next annotate id3lib/receipt @ rev 15807

Up: aria2 to 1.18.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 01:44:34 2014 +0000 (2014-01-24)
parents d1768332cee0
children c04bd033a43d
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 }