wok annotate libsndfile/receipt @ rev 21407
updated lynx (2.8.8 -> 2.8.9)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 23 15:37:46 2019 +0100 (2019-04-23) |
parents | 9736e603f8a1 |
children | 83b97236db32 |
rev | line source |
---|---|
jozee@2659 | 1 # SliTaz package receipt. |
jozee@2659 | 2 |
jozee@2659 | 3 PACKAGE="libsndfile" |
Hans-G?nter@21299 | 4 VERSION="1.0.28" |
jozee@2659 | 5 CATEGORY="multimedia" |
Hans-G?nter@21299 | 6 SHORT_DESC="A C library for reading and writing files containing sampled sound." |
jozee@2659 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21299 | 9 WEB_SITE="http://www.mega-nerd.com/libsndfile/" |
Hans-G?nter@21299 | 10 |
jozee@2659 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6179 | 12 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@2659 | 13 |
pankso@16268 | 14 DEPENDS="alsa-lib libvorbis" |
pankso@16268 | 15 BUILD_DEPENDS="alsa-lib-dev libvorbis-dev" |
pankso@16268 | 16 |
Hans-G?nter@21299 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21299 | 18 |
pankso@16268 | 19 # Handle slitaz arch |
pankso@16268 | 20 case "$SLITAZ_ARCH" in |
pankso@16268 | 21 i?86) DEPENDS="$DEPENDS flac" ;; |
pankso@16268 | 22 esac |
pankso@16268 | 23 |
pankso@16268 | 24 # Handle cross compilation. |
pankso@16268 | 25 case "$ARCH" in |
pascal@16327 | 26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;; |
pankso@16268 | 27 esac |
pascal@15482 | 28 |
jozee@2659 | 29 # Rules to configure and make the package. |
jozee@2659 | 30 compile_rules() |
jozee@2659 | 31 { |
Hans-G?nter@21299 | 32 ./configure \ |
Hans-G?nter@21299 | 33 --prefix=/usr \ |
Hans-G?nter@21299 | 34 --disable-sqlite \ |
Hans-G?nter@21299 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@21299 | 36 make -j 1 && |
pascal@15482 | 37 make DESTDIR=$DESTDIR install |
jozee@2659 | 38 } |
jozee@2659 | 39 |
jozee@2659 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2659 | 41 genpkg_rules() |
jozee@2659 | 42 { |
jozee@2659 | 43 mkdir -p $fs/usr/lib |
pascal@15482 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2659 | 45 } |