wok-6.x rev 16186

gtk+: fix version (was playing with ARM cook)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 18:40:35 2014 +0200 (2014-03-30)
parents abd8c5581357
children 04d06b4d19e8
files gtk+/receipt ympd/receipt
line diff
     1.1 --- a/gtk+/receipt	Sun Mar 30 16:16:55 2014 +0000
     1.2 +++ b/gtk+/receipt	Sun Mar 30 18:40:35 2014 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtk+"
     1.7 -VERSION="2.20.1"
     1.8 +VERSION="2.24.18"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="The GIMP Toolkit."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/ympd/receipt	Sun Mar 30 16:16:55 2014 +0000
     2.2 +++ b/ympd/receipt	Sun Mar 30 18:40:35 2014 +0200
     2.3 @@ -14,12 +14,20 @@
     2.4  DEPENDS="mpd libmpdclient"
     2.5  BUILD_DEPENDS="libmpdclient-dev git"
     2.6  
     2.7 +# Handle cross compilation.
     2.8 +case "$ARCH" in
     2.9 +	arm*) 
    2.10 +		BUILD_DEPENDS="libmpdclient-dev" 
    2.11 +		ARCH_ARGS="-DLIBMPDCLIENT_LIBRARY=/cross/$ARCH/sysroot/usr/lib \
    2.12 +		-DLIBMPDCLIENT_INCLUDE_DIR=/cross/$ARCH/sysroot/usr/include" ;;
    2.13 +esac
    2.14 +
    2.15  # Rules to configure and make the package.
    2.16  compile_rules()
    2.17  {
    2.18  	mkdir build && cd build
    2.19  	cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    2.20 -		.. &&
    2.21 +		${ARCH_ARGS} .. &&
    2.22  	make && make install
    2.23  }
    2.24