wok view id3lib/receipt @ rev 19685

Up tazpkg (942)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Feb 12 04:43:38 2017 +0200 (2017-02-12)
parents d1768332cee0
children ba7cbdb5749c
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://id3lib.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="zlib gcc-lib-base"
14 BUILD_DEPENDS="zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p1 -i $stuff/id3lib-$VERSION-gcc-4.4.patch || return 1
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }