# HG changeset patch # User Christopher Rogers # Date 1302334003 0 # Node ID 7b21f33f4f6afe78c5ee8ed8796714bd8478a5ab # Parent d36e3f34f5c0ad9de6aa6fb2b16d96a10a56ab40 Reverse linux. diff -r d36e3f34f5c0 -r 7b21f33f4f6a linux/receipt --- a/linux/receipt Sat Apr 09 07:25:03 2011 +0000 +++ b/linux/receipt Sat Apr 09 07:26:43 2011 +0000 @@ -1,20 +1,13 @@ # SliTaz package receipt. PACKAGE="linux" -VERSION="2.6.37.6" -BASE_VERSION="${VERSION%.*}" -# the one below is when your using the newer base version -#BASE_VERSION="$VERSION" +VERSION="2.6.37" CATEGORY="base-system" SHORT_DESC="The Linux kernel and modules." DEPENDS="depmod" -if [ "$BASE_VERSION" != "$VERSION" ]; then - BUILD_DEPENDS="linux-patch perl git lzma patch" -else - BUILD_DEPENDS="perl git lzma patch" -fi +BUILD_DEPENDS="slitaz-toolchain perl git lzma patch" MAINTAINER="devel@slitaz.org" -TARBALL="$PACKAGE-$BASE_VERSION.tar.bz2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.kernel.org/" WGET_URL="http://www.eu.kernel.org/pub/linux/kernel/v${VERSION:0:3}/$TARBALL" CONFIG_FILES="/lib/modules/$VERSION-slitaz/modules.dep" @@ -55,10 +48,10 @@ patch -p1 < $WOK/$PACKAGE/slitaz/$patch_file || { report close-bloc; return 1; } touch done.$patch_file done < $WOK/$PACKAGE/tmp/modules.list + $(cat stuff/modules-$VERSION.list) > $WOK/$PACKAGE/tmp/modules.list while read module; do dir=$(dirname $module) [ -d $path/$dir ] || mkdir -p $path/$dir