wok-current diff taglib/receipt @ rev 19654

busybox: add buf 9471 fix (for wget)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 25 09:31:52 2017 +0100 (2017-01-25)
parents 600aaedb561d
children 0462682e79b7
line diff
     1.1 --- a/taglib/receipt	Mon Dec 02 19:18:04 2013 +0000
     1.2 +++ b/taglib/receipt	Wed Jan 25 09:31:52 2017 +0100
     1.3 @@ -10,24 +10,27 @@
     1.4  WEB_SITE="http://developer.kde.org/~wheeler/taglib.html"
     1.5  WGET_URL="http://developer.kde.org/~wheeler/files/src/$TARBALL"
     1.6  TAGS="multimedia music tag"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="zlib gcc-lib-base"
    1.10 -BUILD_DEPENDS="zlib-dev cmake"
    1.11 +BUILD_DEPENDS="zlib-dev"
    1.12 +
    1.13 +case $ARCH in 
    1.14 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
    1.15 +esac
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 -	cd $src
    1.21 -	mkdir build
    1.22 -	cd build
    1.23 -	cmake ../ \
    1.24 +	mkdir build && cd build
    1.25 +	cmake \
    1.26  		-DCMAKE_INSTALL_PREFIX=/usr \
    1.27  		-DCMAKE_BUILD_TYPE=Release \
    1.28  		-DENABLE_STATIC=OFF \
    1.29  		-DWITH_MP4=ON \
    1.30 -		-DWITH_ASF=ON
    1.31 -	make VERBOSE=1
    1.32 -	make install
    1.33 +		-DWITH_ASF=ON \
    1.34 +		.. &&
    1.35 +	make VERBOSE=1 && make install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.