wok-current diff libsndfile/receipt @ rev 16268
ARM: add libsexy libsndfile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 20:04:34 2014 +0200 (2014-04-05) |
parents | 8d6f480bf664 |
children | 9736e603f8a1 |
line diff
1.1 --- a/libsndfile/receipt Sun Nov 10 17:13:06 2013 +0000 1.2 +++ b/libsndfile/receipt Sat Apr 05 20:04:34 2014 +0200 1.3 @@ -9,9 +9,20 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://www.mega-nerd.com/libsndfile/" 1.6 WGET_URL="$WEB_SITE/files/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 -DEPENDS="alsa-lib flac libvorbis" 1.10 -BUILD_DEPENDS="alsa-lib alsa-lib-dev flac-dev" 1.11 +DEPENDS="alsa-lib libvorbis" 1.12 +BUILD_DEPENDS="alsa-lib-dev libvorbis-dev" 1.13 + 1.14 +# Handle slitaz arch 1.15 +case "$SLITAZ_ARCH" in 1.16 + i?86) DEPENDS="$DEPENDS flac" ;; 1.17 +esac 1.18 + 1.19 +# Handle cross compilation. 1.20 +case "$ARCH" in 1.21 + i?86) BUILD_DEPENDS="$UILD_DEPENDS flac-dev" ;; 1.22 +esac 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules()