wok-next diff taglib/receipt @ rev 16271

ARM: add gmpc with needed libs
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 22:48:39 2014 +0200 (2014-04-05)
parents 600aaedb561d
children 0a667524ce79
line diff
     1.1 --- a/taglib/receipt	Mon Dec 02 19:18:04 2013 +0000
     1.2 +++ b/taglib/receipt	Sat Apr 05 22:48:39 2014 +0200
     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.