wok-current rev 15943
arm arch: fix pkgs build for kbd and e2fsprogs plus add flex and check
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 23:10:15 2014 +0100 (2014-02-22) |
parents | 2ba6fbff0a52 |
children | f6332424127f |
files | check-dev/receipt check/receipt e2fsprogs/receipt flex/receipt kbd-base/receipt kbd-vlock/receipt kbd/receipt texinfo/receipt |
line diff
1.1 --- a/check-dev/receipt Sat Feb 22 19:56:00 2014 +0100 1.2 +++ b/check-dev/receipt Sat Feb 22 23:10:15 2014 +0100 1.3 @@ -8,6 +8,7 @@ 1.4 LICENSE="LGPL2.1" 1.5 WEB_SITE="http://check.sourceforge.net/" 1.6 WANTED="check" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="check pkg-config" 1.10 BUILD_DEPENDS=""
2.1 --- a/check/receipt Sat Feb 22 19:56:00 2014 +0100 2.2 +++ b/check/receipt Sat Feb 22 23:10:15 2014 +0100 2.3 @@ -9,6 +9,7 @@ 2.4 WEB_SITE="http://check.sourceforge.net/" 2.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.6 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 DEPENDS="" 2.10 BUILD_DEPENDS=""
3.1 --- a/e2fsprogs/receipt Sat Feb 22 19:56:00 2014 +0100 3.2 +++ b/e2fsprogs/receipt Sat Feb 22 23:10:15 2014 +0100 3.3 @@ -14,6 +14,11 @@ 3.4 DEPENDS="libcomerr util-linux-blkid util-linux-uuid" 3.5 BUILD_DEPENDS="texinfo" 3.6 3.7 +# Handle cross compilation. 3.8 +case "$ARCH" in 3.9 + arm) BUILD_DEPENDS="" ;; 3.10 +esac 3.11 + 3.12 # Rules to configure and make the package. 3.13 compile_rules() 3.14 {
4.1 --- a/flex/receipt Sat Feb 22 19:56:00 2014 +0100 4.2 +++ b/flex/receipt Sat Feb 22 23:10:15 2014 +0100 4.3 @@ -9,6 +9,7 @@ 4.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.5 WEB_SITE="http://flex.sourceforge.net/" 4.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 4.7 +HOST_ARCH="i486 arm" 4.8 4.9 DEPENDS="bison" 4.10 BUILD_DEPENDS="bison"
5.1 --- a/kbd-base/receipt Sat Feb 22 19:56:00 2014 +0100 5.2 +++ b/kbd-base/receipt Sat Feb 22 23:10:15 2014 +0100 5.3 @@ -1,7 +1,7 @@ 5.4 # SliTaz package receipt. 5.5 5.6 PACKAGE="kbd-base" 5.7 -VERSION="1.15.5" 5.8 +VERSION="2.0.1" 5.9 CATEGORY="base-system" 5.10 SHORT_DESC="Keyboard maping definitions and loadkeys utility." 5.11 MAINTAINER="pankso@slitaz.org"
6.1 --- a/kbd-vlock/receipt Sat Feb 22 19:56:00 2014 +0100 6.2 +++ b/kbd-vlock/receipt Sat Feb 22 23:10:15 2014 +0100 6.3 @@ -1,7 +1,7 @@ 6.4 # SliTaz package receipt. 6.5 6.6 PACKAGE="kbd-vlock" 6.7 -VERSION="1.15.5" 6.8 +VERSION="2.0.1" 6.9 CATEGORY="system-tools" 6.10 SHORT_DESC="vlock - Virtual Console lock program" 6.11 MAINTAINER="al.bobylev@gmail.com"
7.1 --- a/kbd/receipt Sat Feb 22 19:56:00 2014 +0100 7.2 +++ b/kbd/receipt Sat Feb 22 23:10:15 2014 +0100 7.3 @@ -1,30 +1,45 @@ 7.4 # SliTaz package receipt. 7.5 7.6 PACKAGE="kbd" 7.7 -VERSION="1.15.5" 7.8 +VERSION="2.0.1" 7.9 CATEGORY="system-tools" 7.10 SHORT_DESC="Keyboard maping definitions and tools." 7.11 MAINTAINER="pankso@slitaz.org" 7.12 LICENSE="GPL2" 7.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 7.14 WEB_SITE="http://kbd-project.org/" 7.15 -#WGET_URL="http://kbd-project.org/download/$TARBALL" 7.16 -WGET_URL="ftp://ftp.altlinux.org/pub/people/legion/kbd/$TARBALL" 7.17 +WGET_URL="ftp://ftp.kernel.org/pub/linux/utils/kbd/$TARBALL" 7.18 TAGS="keyboard" 7.19 HOST_ARCH="i486 arm" 7.20 7.21 DEPENDS="kbd-base" 7.22 -BUILD_DEPENDS="flex pam-dev" 7.23 +BUILD_DEPENDS="flex pam-dev check-dev" 7.24 + 7.25 +# Handle cross compilation. 7.26 +case "$ARCH" in 7.27 + arm) BUILD_DEPENDS="flex check-dev" ;; 7.28 +esac 7.29 7.30 # Rules to configure and make the package. 7.31 compile_rules() 7.32 { 7.33 # standard locale placement 7.34 sed 's|localedir = .*|localedir = @localedir@|' -i $src/po/Makefile.in.in 7.35 - ./configure \ 7.36 - --datadir=/usr/share/kbd \ 7.37 - --localedir=/usr/share/locale \ 7.38 - $CONFIGURE_ARGS && 7.39 + # Handle cross compilation. 7.40 + case "$ARCH" in 7.41 + arm) 7.42 + # No PAM support for ARM 7.43 + ./configure \ 7.44 + --datadir=/usr/share/kbd \ 7.45 + --localedir=/usr/share/locale \ 7.46 + --disable-vlock \ 7.47 + $CONFIGURE_ARGS ;; 7.48 + i468) 7.49 + ./configure \ 7.50 + --datadir=/usr/share/kbd \ 7.51 + --localedir=/usr/share/locale \ 7.52 + $CONFIGURE_ARGS ;; 7.53 + esac && 7.54 make && make install 7.55 } 7.56
8.1 --- a/texinfo/receipt Sat Feb 22 19:56:00 2014 +0100 8.2 +++ b/texinfo/receipt Sat Feb 22 23:10:15 2014 +0100 8.3 @@ -12,7 +12,7 @@ 8.4 TAGS="documentation" 8.5 8.6 DEPENDS="ncurses" 8.7 -BUILD_DEPENDS="ncurses" 8.8 +BUILD_DEPENDS="ncurses-dev" 8.9 8.10 # Rules to compile & install the temporary toolchain by Tazwok. 8.11 cook_tmp_toolchain()