wok rev 16061

ARM: add libtool and xorg-xkbcomp
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 12 01:19:59 2014 +0100 (2014-03-12)
parents 8abb017ed841
children a29085892eee
files libltdl/receipt libtool/receipt xorg-xkbcomp/receipt
line diff
     1.1 --- a/libltdl/receipt	Wed Mar 12 00:54:36 2014 +0100
     1.2 +++ b/libltdl/receipt	Wed Mar 12 01:19:59 2014 +0100
     1.3 @@ -8,6 +8,7 @@
     1.4  LICENSE="GPL2"
     1.5  WEB_SITE="http://www.gnu.org/software/libtool/"
     1.6  WANTED="libtool"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
     2.1 --- a/libtool/receipt	Wed Mar 12 00:54:36 2014 +0100
     2.2 +++ b/libtool/receipt	Wed Mar 12 01:19:59 2014 +0100
     2.3 @@ -9,10 +9,16 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://www.gnu.org/software/libtool/"
     2.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  DEPENDS="libltdl automake autoconf"
    2.10  BUILD_DEPENDS="automake autoconf"
    2.11  
    2.12 +# Handle cross compilation.
    2.13 +case "$ARCH" in
    2.14 +	arm) BUILD_DEPENDS="" ;;
    2.15 +esac
    2.16 +
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
     3.1 --- a/xorg-xkbcomp/receipt	Wed Mar 12 00:54:36 2014 +0100
     3.2 +++ b/xorg-xkbcomp/receipt	Wed Mar 12 01:19:59 2014 +0100
     3.3 @@ -10,6 +10,7 @@
     3.4  TARBALL="$SOURCE-$VERSION.tar.bz2"
     3.5  WEB_SITE="http://www.x.org/"
     3.6  WGET_URL="$XORG_MIRROR/app/$TARBALL"
     3.7 +HOST_ARCH="i486 arm"
     3.8  
     3.9  DEPENDS="xorg-libxkbfile"
    3.10  BUILD_DEPENDS="xorg-libxkbfile-dev"
    3.11 @@ -17,12 +18,11 @@
    3.12  # Rules to configure and make the package.
    3.13  compile_rules()
    3.14  {
    3.15 -    cd $src
    3.16 -	./configure --prefix=/usr --sysconfdir=/etc \
    3.17 -    --mandir=/usr/share/man --localstatedir=/var \
    3.18 -    $CONFIGURE_ARGS &&
    3.19 -    make &&
    3.20 -    make DESTDIR=$DESTDIR install
    3.21 +	./configure \
    3.22 +		--sysconfdir=/etc \
    3.23 +		--localstatedir=/var \
    3.24 +		$CONFIGURE_ARGS &&
    3.25 +	make && make install
    3.26  }
    3.27  
    3.28  # Rules to gen a SliTaz package suitable for Tazpkg.