diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-26 06:30:59 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-26 06:30:59 (GMT) |
commit | 22717178ce9fdec1b5711bcaea5a39e2334d94b1 (patch) | |
tree | 11ef6ca700440089dedccad0ea1637213effc3b4 /abs/core-testing/klibc/PKGBUILD | |
parent | e4b0f387e05bf4ff0df15885a69c5e704ece612f (diff) | |
download | linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.zip linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.tar.gz linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.tar.bz2 |
Needed to installed newer kernel.
Diffstat (limited to 'abs/core-testing/klibc/PKGBUILD')
-rw-r--r-- | abs/core-testing/klibc/PKGBUILD | 48 |
1 files changed, 21 insertions, 27 deletions
diff --git a/abs/core-testing/klibc/PKGBUILD b/abs/core-testing/klibc/PKGBUILD index a65d119..5fe9753 100644 --- a/abs/core-testing/klibc/PKGBUILD +++ b/abs/core-testing/klibc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 5849 2008-07-21 18:46:34Z thomas $ +# $Id: PKGBUILD 23627 2009-01-11 14:22:23Z thomas $ # Maintainer: Aaron Griffin <aaron@archlinux.org> # Maintainer: Thomas Baechler <thomas@archlinux.org> @@ -9,28 +9,26 @@ ### pkgname=klibc -pkgver=1.5 -_klibcbranch=Stable #Stable/Testing -_kver=2.6.26-ARCH -pkgrel=15 +pkgver=1.5.15 +_klibcbranch=Testing #Stable/Testing +_kver=2.6.28-ARCH +pkgrel=1 pkgdesc="A minimal libc made for early-userspace" arch=(i686 x86_64) url="http://www.kernel.org/pub/linux/libs/klibc/" license=('BSD') groups=('base') options=(!ccache !strip) -source=(http://www.kernel.org/pub/linux/libs/klibc/$_klibcbranch/$pkgname-$pkgver.tar.gz - multiple_raid_assembly_fix.patch +source=(http://www.kernel.org/pub/linux/libs/klibc/${_klibcbranch}/${pkgname}-${pkgver}.tar.gz klibc-compile-shared-by-default.patch - klibc-module-init-tools.patch - klibc-2.6.24.patch - klibc-Kbuild.patch) -md5sums=('d55ce89c0656a7d6896ec0b2af07b5dc' - '8d257d50a4554d57b8f461c6a87a2877' + klibc-Kbuild.patch + klibc-x86_64-fix-io.h.patch + klibc-fix-2.6.28-includes.patch) +md5sums=('b5527be46f24779884557b11888c8075' 'c263a7c3fd290fcc84a4e230d456d022' - '4d78311ebce63f2fbb711f8518e71839' - 'a98b3e96aff53339572ed0bdccc8aed2' - 'c928be0153585a487b72a7eb5dfa8b13') + 'ff5b113024256de31af59c2f1a966516' + 'fcee75cfaa65638b07f9cc4a7719fa29' + '85e39751debc304119eb481d6bc26d59') build() { @@ -39,23 +37,19 @@ build() sed -i "/#define INI_DEBUG/d" usr/kinit/kinit.h || return 1 ln -sf /usr/src/linux-${_kver} linux - patch -p1 -i ../multiple_raid_assembly_fix.patch || return 1 - # make klibc-module-init-tools compile - # don't build insmod - patch -p1 -i ../klibc-module-init-tools.patch || return 1 # compile binaries shared by default patch -p1 -i ../klibc-compile-shared-by-default.patch || return 1 - # fix compilation on 2.6.24 - patch -p1 -i ../klibc-2.6.24.patch || return 1 - # don't build kill, gzip and cpio - patch -p1 -i ../klibc-Kbuild.patch || return 1 + # don't build gzip, cpio, kill, build shared binaries for kinit and sh + patch -p1 -i ../klibc-Kbuild.patch || return 1 + # fix errors in io.h header + patch -p1 -i ../klibc-x86_64-fix-io.h.patch || return 1 + # fix includes for 2.6.28 build + patch -p1 -i ../klibc-fix-2.6.28-includes.patch || return 1 make EXTRA_KLIBCFLAGS='' || return 1 make INSTALLROOT=$startdir/pkg install || return 1 - #simplify - mv $startdir/pkg/usr/lib/klibc/bin/sh.shared $startdir/pkg/usr/lib/klibc/bin/sh - mv $startdir/pkg/usr/lib/klibc/bin/kinit.shared $startdir/pkg/usr/lib/klibc/bin/kinit - ln -sf asm-x86 $startdir/pkg/usr/lib/klibc/include/asm + #ln -sf asm-x86 $startdir/pkg/usr/lib/klibc/include/asm + cp -a linux/arch/x86/include/asm/* $startdir/pkg/usr/lib/klibc/include/asm/ provides[${#provides[@]}]="$(basename $startdir/pkg/lib/klibc-*.so .so)" export provides |