wok-next annotate libsamplerate/receipt @ rev 16442
slitaz-tools: work around due to buggy 5.8 Makefile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 16:30:12 2014 +0200 (2014-04-18) |
parents | 6eff489aa802 |
children | 6d173c4b9591 |
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" |
pascal@14718 | 8 LICENSE="GPL2" |
pankso@295 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@295 | 10 WEB_SITE="http://www.mega-nerd.com/SRC/" |
pankso@295 | 11 WGET_URL="http://www.mega-nerd.com/SRC/$TARBALL" |
pankso@16014 | 12 HOST_ARCH="i486 arm" |
pankso@295 | 13 |
pankso@16014 | 14 DEPENDS="" |
pascal@14718 | 15 |
pankso@295 | 16 # Rules to configure and make the package. |
pankso@295 | 17 compile_rules() |
pankso@295 | 18 { |
pankso@295 | 19 cd $src |
pankso@295 | 20 ./configure \ |
pankso@295 | 21 --prefix=/usr \ |
pankso@295 | 22 --mandir=/usr/share/man \ |
pascal@5003 | 23 $CONFIGURE_ARGS && |
pascal@5003 | 24 make && |
slaxemulator@12385 | 25 make DESTDIR=$DESTDIR install |
pankso@295 | 26 } |
pankso@295 | 27 |
pankso@295 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 29 genpkg_rules() |
pankso@295 | 30 { |
pankso@295 | 31 mkdir -p $fs/usr/lib |
pascal@14718 | 32 cp -a $install/usr/bin $fs/usr |
pascal@14718 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@295 | 34 } |
pankso@295 | 35 |