wok annotate id3lib/receipt @ rev 6703
Fixed lirc to have modules install in /lib/modules/2.6.34-slitaz instead of /lib/modules/2.6.34.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 14:31:07 2010 +0000 (2010-10-13) |
parents | e4d73ee23944 |
children | 0b4cf0d9e1b5 |
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" |
pankso@293 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5002 | 9 DEPENDS="zlib gcc-lib-base" |
pascal@1447 | 10 BUILD_DEPENDS="zlib-dev" |
pankso@293 | 11 WEB_SITE="http://id3lib.sourceforge.net/" |
pankso@293 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@293 | 13 |
pankso@293 | 14 # Rules to configure and make the package. |
pankso@293 | 15 compile_rules() |
pankso@293 | 16 { |
pankso@293 | 17 cd $src |
pankso@3345 | 18 patch -p1 -i ../stuff/id3lib-$VERSION-gcc-4.4.patch || exit 1 |
pankso@293 | 19 ./configure \ |
pankso@293 | 20 --prefix=/usr \ |
pascal@1447 | 21 $CONFIGURE_ARGS && |
pascal@1447 | 22 make && |
pankso@293 | 23 make DESTDIR=$PWD/_pkg install |
pankso@293 | 24 } |
pankso@293 | 25 |
pankso@293 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@293 | 27 genpkg_rules() |
pankso@293 | 28 { |
pankso@293 | 29 mkdir -p $fs/usr/lib |
pankso@293 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@293 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@293 | 32 } |
pankso@293 | 33 |