wok-current annotate libid3tag/receipt @ rev 7448
gecko-mediaplayer: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 30 12:49:24 2010 +0100 (2010-11-30) |
parents | |
children | 0f8dcbf8807b |
rev | line source |
---|---|
paul@1374 | 1 # SliTaz package receipt. |
paul@1374 | 2 |
paul@1374 | 3 PACKAGE="libid3tag" |
paul@1374 | 4 VERSION="0.15.1b" |
paul@1374 | 5 CATEGORY="multimedia" |
paul@1374 | 6 SHORT_DESC="ID3 tag manipulation library." |
paul@1374 | 7 MAINTAINER="paul@slitaz.org" |
paul@1374 | 8 DEPENDS="zlib" |
paul@1374 | 9 BUILD_DEPENDS="zlib-dev" |
paul@1374 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1374 | 11 WEB_SITE="http://www.underbit.com/products/mad/" |
paul@1374 | 12 WGET_URL="http://downloads.sourceforge.net/mad/$TARBALL" |
paul@1374 | 13 |
paul@1374 | 14 # Rules to configure and make the package. |
paul@1374 | 15 compile_rules() |
paul@1374 | 16 { |
paul@1374 | 17 cd $src |
paul@1374 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS |
paul@1374 | 19 make |
paul@1374 | 20 make DESTDIR=$PWD/_pkg install |
paul@1374 | 21 } |
paul@1374 | 22 |
paul@1374 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1374 | 24 genpkg_rules() |
paul@1374 | 25 { |
paul@1374 | 26 mkdir -p $fs/usr/lib |
paul@1374 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
paul@1374 | 28 strip --strip-unneeded $fs/usr/lib/* |
paul@1374 | 29 } |
paul@1374 | 30 |