wok-6.x diff sox/receipt @ rev 16982

Add caja and caja-dev
author Yuri Pourre <yuripourre@gmail.com>
date Thu Aug 07 21:28:28 2014 -0300 (2014-08-07)
parents 1040bd60b471
children 28c0d31f1850
line diff
     1.1 --- a/sox/receipt	Sun Aug 11 20:45:50 2013 +0000
     1.2 +++ b/sox/receipt	Thu Aug 07 21:28:28 2014 -0300
     1.3 @@ -9,19 +9,31 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://sox.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9 -DEPENDS="libltdl libsamplerate alsa-lib flac libid3tag libmad libvorbis libpng \
    1.10 -lame libmagic libgomp libao ffmpeg libsndfile"
    1.11 -BUILD_DEPENDS="$DEPENDS ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev libvorbis-dev libpng-dev \
    1.12 - lame-dev libsamplerate-dev alsa-lib-dev flac-dev libao-dev libogg-dev libmagic-dev"
    1.13 +DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad libvorbis \
    1.14 +libpng lame libmagic libgomp libao ffmpeg libsndfile"
    1.15 +BUILD_DEPENDS="ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev \
    1.16 +libvorbis-dev libpng-dev lame-dev libsamplerate-dev alsa-lib-dev \
    1.17 +libao-dev libogg-dev libmagic-dev"
    1.18 + 
    1.19 +# Handle SliTaz arch
    1.20 +case "$SLITAZ_ARCH" in
    1.21 +	i?86) DEPENDS="$DEPENDS flac"
    1.22 +esac
    1.23 +
    1.24 +# Handle cross compilation
    1.25 +case "$ARCH" in
    1.26 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev"
    1.27 +esac
    1.28   
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	cd $src
    1.33 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.34 -	make &&
    1.35 -	make DESTDIR=$DESTDIR install
    1.36 +	./configure \
    1.37 +		--with-distro="SliTaz" \
    1.38 +		$CONFIGURE_ARGS &&
    1.39 +	make && make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.