wok-6.x rev 12776
Remove cross linux headers
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 12:20:38 2012 +0200 (2012-05-13) |
parents | fb9821d2c0ce |
children | 5ff40667cd59 |
files | linux-arm-api-headers/receipt linux-x86_64-api-headers/receipt |
line diff
1.1 --- a/linux-arm-api-headers/receipt Sun May 13 04:51:07 2012 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,49 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="linux-arm-api-headers" 1.7 -VERSION="3.2.14" 1.8 -KBASEVER="${VERSION:0:3}" 1.9 -CATEGORY="development" 1.10 -SHORT_DESC="Kernel headers sanitized for use in userspace." 1.11 -MAINTAINER="devel@slitaz.org" 1.12 -SOURCE="linux" 1.13 -TARBALL="$SOURCE-$KBASEVER.tar.xz" 1.14 -WEB_SITE="http://www.kernel.org/" 1.15 -WGET_URL="http://www.kernel.org/pub/linux/kernel/v3.0/$TARBALL" 1.16 - 1.17 -BUILD_DEPENDS="bash" 1.18 - 1.19 -[ "$KBASEVER" != "$VERSION" ] && PATCH="http://www.kernel.org/pub/linux/kernel/v3.0/patch-$VERSION.xz" 1.20 - 1.21 -# Cross toolchain variables. 1.22 -CROSS_TARGET="arm-slitaz-linux-gnueabi" 1.23 -CROSS_PREFIX="/usr/cross/arm" 1.24 - 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cd $src 1.29 - 1.30 - if [ "$KBASEVER" != "$VERSION" ]; then 1.31 - if [ -f $SOURCES_REPOSITORY/$(basename $PATCH) ]; then 1.32 - xzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -Np1 1.33 - else 1.34 - wget $PATCH -O $SRC/$(basename $PATCH) 1.35 - xzcat $SRC/$(basename $PATCH) | patch -Np1 1.36 - fi 1.37 - fi 1.38 - 1.39 - make mrproper && 1.40 - make ARCH=arm headers_check && 1.41 - make ARCH=arm \ 1.42 - INSTALL_HDR_PATH=${DESTDIR}${CROSS_PREFIX} \ 1.43 - headers_install 1.44 -} 1.45 - 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 - mkdir -p $fs/usr 1.50 - cp -a $install/usr/cross $fs/usr 1.51 - rm -f $(find ${fs} -name .install -or -name ..install.cmd) 1.52 -}
2.1 --- a/linux-x86_64-api-headers/receipt Sun May 13 04:51:07 2012 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,49 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="linux-x86_64-api-headers" 2.7 -VERSION="3.2.14" 2.8 -KBASEVER="${VERSION:0:3}" 2.9 -CATEGORY="development" 2.10 -SHORT_DESC="Kernel headers sanitized for use in userspace." 2.11 -MAINTAINER="erjo@slitaz.org" 2.12 -SOURCE="linux" 2.13 -TARBALL="$SOURCE-$KBASEVER.tar.xz" 2.14 -WEB_SITE="http://www.kernel.org/" 2.15 -WGET_URL="http://www.kernel.org/pub/linux/kernel/v3.0/$TARBALL" 2.16 - 2.17 -BUILD_DEPENDS="bash" 2.18 - 2.19 -[ "$KBASEVER" != "$VERSION" ] && PATCH="http://www.kernel.org/pub/linux/kernel/v3.0/patch-$VERSION.xz" 2.20 - 2.21 -# Cross toolchain variables. 2.22 -CROSS_TARGET="x86_64-slitaz-linux" 2.23 -CROSS_PREFIX="/usr/cross/x86_64" 2.24 - 2.25 -# Rules to configure and make the package. 2.26 -compile_rules() 2.27 -{ 2.28 - cd $src 2.29 - 2.30 - if [ "$KBASEVER" != "$VERSION" ]; then 2.31 - if [ -f $SOURCES_REPOSITORY/$(basename $PATCH) ]; then 2.32 - xzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -Np1 2.33 - else 2.34 - wget $PATCH -O $SRC/$(basename $PATCH) 2.35 - xzcat $SRC/$(basename $PATCH) | patch -Np1 2.36 - fi 2.37 - fi 2.38 - 2.39 - make mrproper && 2.40 - make ARCH=x86_64 headers_check && 2.41 - make ARCH=x86_64 \ 2.42 - INSTALL_HDR_PATH=${DESTDIR}${CROSS_PREFIX} \ 2.43 - headers_install 2.44 -} 2.45 - 2.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.47 -genpkg_rules() 2.48 -{ 2.49 - mkdir -p $fs/usr 2.50 - cp -a $install/usr/cross $fs/usr 2.51 - rm -f $(find ${fs} -name .install -or -name ..install.cmd) 2.52 -}