wok-4.x view id3lib/receipt @ rev 12427

lxc: use ash shell for lxc-template;fix arch command, use (uname -m)
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 12:16:47 2013 +0100 (2013-12-21)
parents 0b4cf0d9e1b5
children
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 }