wok-6.x annotate libsamplerate/receipt @ rev 13033
Add C compiler tags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 12 18:52:42 2012 +0200 (2012-06-12) |
parents | 289f05ac25a1 |
children | 6eff489aa802 |
rev | line source |
---|---|
pankso@295 | 1 # SliTaz package receipt. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libsamplerate" |
slaxemulator@12385 | 4 VERSION="0.1.8" |
pankso@295 | 5 CATEGORY="multimedia" |
pankso@295 | 6 SHORT_DESC="Sample Rate Converter for audio." |
pankso@295 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@295 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5003 | 9 DEPENDS="libsndfile libogg" |
pankso@295 | 10 WEB_SITE="http://www.mega-nerd.com/SRC/" |
pankso@295 | 11 WGET_URL="http://www.mega-nerd.com/SRC/$TARBALL" |
pankso@295 | 12 |
pankso@295 | 13 # Rules to configure and make the package. |
pankso@295 | 14 compile_rules() |
pankso@295 | 15 { |
pankso@295 | 16 cd $src |
pankso@295 | 17 ./configure \ |
pankso@295 | 18 --prefix=/usr \ |
pankso@295 | 19 --mandir=/usr/share/man \ |
pascal@5003 | 20 $CONFIGURE_ARGS && |
pascal@5003 | 21 make && |
slaxemulator@12385 | 22 make DESTDIR=$DESTDIR install |
pankso@295 | 23 } |
pankso@295 | 24 |
pankso@295 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 26 genpkg_rules() |
pankso@295 | 27 { |
pankso@295 | 28 mkdir -p $fs/usr/lib |
pankso@295 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@295 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@295 | 31 } |
pankso@295 | 32 |