wok rev 15983

arm: add some Xorg proto pkgs and prepare pkg-config/receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 01 23:51:38 2014 +0100 (2014-03-01)
parents 45e76a6c05d7
children 634b097489ad
files libxslt/receipt pkg-config/receipt xorg-bigreqsproto/receipt xorg-compositeproto/receipt xorg-glproto/receipt xorg-randrproto/receipt xorg-renderproto/receipt xorg-videoproto/receipt
line diff
     1.1 --- a/libxslt/receipt	Sat Mar 01 19:54:32 2014 +0000
     1.2 +++ b/libxslt/receipt	Sat Mar 01 23:51:38 2014 +0100
     1.3 @@ -15,13 +15,12 @@
     1.4  BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-dev python-dev"
     1.5  
     1.6  case "$ARCH" in
     1.7 -	arm) BUILD_DEPENDS="libxml2-dev" ;;
     1.8 +	arm) BUILD_DEPENDS="libgcrypt-dev libxml2-dev" ;;
     1.9  esac
    1.10  
    1.11  # Rules to configure and make the package.
    1.12  compile_rules()
    1.13  {
    1.14 -	cd $src
    1.15  	./configure $CONFIGURE_ARGS &&
    1.16  	make &&
    1.17  	make install 2>&1 | grep -v 'html/index.sgml'
     2.1 --- a/pkg-config/receipt	Sat Mar 01 19:54:32 2014 +0000
     2.2 +++ b/pkg-config/receipt	Sat Mar 01 23:51:38 2014 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pkg-config"
     2.7 -VERSION="0.25"
     2.8 +VERSION="0.28"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Free desktop packages manager."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -9,19 +9,34 @@
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WEB_SITE="http://pkgconfig.freedesktop.org/wiki/"
    2.15  WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL"
    2.16 +#HOST_ARCH="i486 arm"
    2.17  
    2.18  DEPENDS="glibc-base"
    2.19  BUILD_DEPENDS="gcc libtool"
    2.20  
    2.21 +# Handle cross compilation.
    2.22 +case "$ARCH" in
    2.23 +	arm) BUILD_DEPENDS="" ;;
    2.24 +esac
    2.25 +
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29 -	cd $src
    2.30  	patch -p1 < $stuff/autoconf-2.66.patch
    2.31 -	./configure \
    2.32 -		--program-prefix=$TOOLPREFIX \
    2.33 -		--build=$HOST_SYSTEM --host=$HOST_SYSTEM 2>&1 | \
    2.34 -		grep -v './libtool: No such file' &&
    2.35 +	case "$ARCH" in
    2.36 +		arm)
    2.37 +			./configure \
    2.38 +				--program-prefix=$TOOLPREFIX \
    2.39 +				--build=i486-slitaz-linux \
    2.40 +				--host=arm-slitaz-linux-gnueabi \
    2.41 +				--cache-file=arm-linux.cache ;;
    2.42 +		*)
    2.43 +			./configure \
    2.44 +				--program-prefix=$TOOLPREFIX \
    2.45 +				--build=$HOST_SYSTEM \
    2.46 +				--host=$HOST_SYSTEM 2>&1 | \
    2.47 +				grep -v './libtool: No such file' ;;
    2.48 +	esac &&
    2.49  	make && make install
    2.50  }
    2.51  
     3.1 --- a/xorg-bigreqsproto/receipt	Sat Mar 01 19:54:32 2014 +0000
     3.2 +++ b/xorg-bigreqsproto/receipt	Sat Mar 01 23:51:38 2014 +0100
     3.3 @@ -10,6 +10,7 @@
     3.4  SOURCE="bigreqsproto"
     3.5  TARBALL="$SOURCE-$VERSION.tar.bz2"
     3.6  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
     3.7 +HOST_ARCH="i486 arm"
     3.8  
     3.9  DEPENDS="xorg-util-macros pkg-config"
    3.10  BUILD_DEPENDS="xorg-util-macros"
     4.1 --- a/xorg-compositeproto/receipt	Sat Mar 01 19:54:32 2014 +0000
     4.2 +++ b/xorg-compositeproto/receipt	Sat Mar 01 23:51:38 2014 +0100
     4.3 @@ -10,6 +10,7 @@
     4.4  SOURCE="compositeproto"
     4.5  TARBALL="$SOURCE-$VERSION.tar.bz2"
     4.6  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
     4.7 +HOST_ARCH="i486 arm"
     4.8  
     4.9  DEPENDS="xorg-fixesproto pkg-config"
    4.10  BUILD_DEPENDS="xorg-util-macros"
     5.1 --- a/xorg-glproto/receipt	Sat Mar 01 19:54:32 2014 +0000
     5.2 +++ b/xorg-glproto/receipt	Sat Mar 01 23:51:38 2014 +0100
     5.3 @@ -10,6 +10,7 @@
     5.4  SOURCE="glproto"
     5.5  TARBALL="$SOURCE-$VERSION.tar.bz2"
     5.6  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
     5.7 +HOST_ARCH="i486 arm"
     5.8  
     5.9  DEPENDS="xorg-xproto mesa-dev pkg-config"
    5.10  BUILD_DEPENDS="xorg-util-macros"
     6.1 --- a/xorg-randrproto/receipt	Sat Mar 01 19:54:32 2014 +0000
     6.2 +++ b/xorg-randrproto/receipt	Sat Mar 01 23:51:38 2014 +0100
     6.3 @@ -10,6 +10,7 @@
     6.4  SOURCE="randrproto"
     6.5  TARBALL="$SOURCE-$VERSION.tar.bz2"
     6.6  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
     6.7 +HOST_ARCH="i486 arm"
     6.8  
     6.9  DEPENDS="xorg-renderproto pkg-config"
    6.10  BUILD_DEPENDS="xorg-util-macros"
     7.1 --- a/xorg-renderproto/receipt	Sat Mar 01 19:54:32 2014 +0000
     7.2 +++ b/xorg-renderproto/receipt	Sat Mar 01 23:51:38 2014 +0100
     7.3 @@ -10,6 +10,7 @@
     7.4  SOURCE="renderproto"
     7.5  TARBALL="$SOURCE-$VERSION.tar.bz2"
     7.6  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
     7.7 +HOST_ARCH="i486 arm"
     7.8  
     7.9  DEPENDS="xorg-xproto pkg-config"
    7.10  BUILD_DEPENDS="xorg-util-macros"
     8.1 --- a/xorg-videoproto/receipt	Sat Mar 01 19:54:32 2014 +0000
     8.2 +++ b/xorg-videoproto/receipt	Sat Mar 01 23:51:38 2014 +0100
     8.3 @@ -10,6 +10,7 @@
     8.4  SOURCE="videoproto"
     8.5  TARBALL="$SOURCE-$VERSION.tar.bz2"
     8.6  WGET_URL="$XORG_MIRROR/proto/$TARBALL"
     8.7 +HOST_ARCH="i486 arm"
     8.8  
     8.9  DEPENDS="xorg-libX11-dev xorg-xproto pkg-config"
    8.10  BUILD_DEPENDS="xorg-util-macros"