# HG changeset patch # User Christophe Lincoln # Date 1394583599 -3600 # Node ID ab15b09c1a91fac5ff1cb69fb21da550443214f8 # Parent 8abb017ed8412912046ce26409af034bb0b00a1e ARM: add libtool and xorg-xkbcomp diff -r 8abb017ed841 -r ab15b09c1a91 libltdl/receipt --- a/libltdl/receipt Wed Mar 12 00:54:36 2014 +0100 +++ b/libltdl/receipt Wed Mar 12 01:19:59 2014 +0100 @@ -8,6 +8,7 @@ LICENSE="GPL2" WEB_SITE="http://www.gnu.org/software/libtool/" WANTED="libtool" +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 8abb017ed841 -r ab15b09c1a91 libtool/receipt --- a/libtool/receipt Wed Mar 12 00:54:36 2014 +0100 +++ b/libtool/receipt Wed Mar 12 01:19:59 2014 +0100 @@ -9,10 +9,16 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/libtool/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="libltdl automake autoconf" BUILD_DEPENDS="automake autoconf" +# Handle cross compilation. +case "$ARCH" in + arm) BUILD_DEPENDS="" ;; +esac + # Rules to configure and make the package. compile_rules() { diff -r 8abb017ed841 -r ab15b09c1a91 xorg-xkbcomp/receipt --- a/xorg-xkbcomp/receipt Wed Mar 12 00:54:36 2014 +0100 +++ b/xorg-xkbcomp/receipt Wed Mar 12 01:19:59 2014 +0100 @@ -10,6 +10,7 @@ TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://www.x.org/" WGET_URL="$XORG_MIRROR/app/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="xorg-libxkbfile" BUILD_DEPENDS="xorg-libxkbfile-dev" @@ -17,12 +18,11 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --prefix=/usr --sysconfdir=/etc \ - --mandir=/usr/share/man --localstatedir=/var \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + ./configure \ + --sysconfdir=/etc \ + --localstatedir=/var \ + $CONFIGURE_ARGS && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg.