wok-next diff moc/receipt @ rev 16058

tiff: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 11 22:58:46 2014 +0100 (2014-03-11)
parents bb009a6ef036
children 2636f4457865
line diff
     1.1 --- a/moc/receipt	Sat Nov 30 15:44:51 2013 +0000
     1.2 +++ b/moc/receipt	Tue Mar 11 22:58:46 2014 +0100
     1.3 @@ -9,17 +9,22 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://moc.daper.net/"
     1.6  WGET_URL="ftp://ftp.daper.net/pub/soft/moc/stable/$TARBALL"
     1.7 +#HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
    1.10  libsamplerate libsndfile libtool ffmpeg ncursesw"
    1.11  BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev \
    1.12 -curl-dev libsamplerate-dev alsa-lib-dev libcurl ncurses-dev \
    1.13 -libsndfile-dev libsndfile libid3tag pkg-config libsamplerate" 
    1.14 +curl-dev libsamplerate-dev alsa-lib-dev ncurses-dev libsndfile-dev libsamplerate"
    1.15 +
    1.16 +# Handle cross compilation
    1.17 +case "$ARCH" in
    1.18 +	arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;;
    1.19 +esac
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25 +	export LIBTOOL=${HOST_SYSTEM}-libtool
    1.26  	./configure \
    1.27  		--prefix=/usr \
    1.28  		--infodir=/usr/share/info \