wok view id3lib/receipt @ rev 12310

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