wok-current annotate libsamplerate/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | f9588901ecdc |
children | ede1d184d5c5 |
rev | line source |
---|---|
pankso@295 | 1 # SliTaz package receipt. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libsamplerate" |
Hans-G?nter@21283 | 4 VERSION="0.1.9" |
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" |
Hans-G?nter@21283 | 9 WEB_SITE="http://www.mega-nerd.com/SRC/" |
Hans-G?nter@21283 | 10 |
pankso@295 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@295 | 12 WGET_URL="http://www.mega-nerd.com/SRC/$TARBALL" |
pankso@295 | 13 |
pankso@16014 | 14 DEPENDS="" |
pascal@14718 | 15 |
Hans-G?nter@21283 | 16 HOST_ARCH="i486 arm" |
Hans-G?nter@21283 | 17 |
pankso@295 | 18 # Rules to configure and make the package. |
pankso@295 | 19 compile_rules() |
pankso@295 | 20 { |
Hans-G?nter@21283 | 21 ./configure \ |
Hans-G?nter@21283 | 22 --prefix=/usr \ |
Hans-G?nter@21283 | 23 --mandir=/usr/share/man \ |
pascal@5003 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@21283 | 25 make -j 1 && |
slaxemulator@12385 | 26 make DESTDIR=$DESTDIR install |
pankso@295 | 27 } |
pankso@295 | 28 |
pankso@295 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 30 genpkg_rules() |
pankso@295 | 31 { |
pankso@295 | 32 mkdir -p $fs/usr/lib |
Hans-G?nter@21283 | 33 |
Hans-G?nter@21283 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21283 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@295 | 36 } |