[arch-commits] CVS update of arch/build/system/linux32 (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sat Jul 7 23:17:08 UTC 2007
Date: Saturday, July 7, 2007 @ 19:17:08
Author: andyrtr
Path: /home/cvs-arch/arch/build/system/linux32
Added: PKGBUILD (1.1)
move pkg in from community - we need it for building i686 packages on x86_64 hosts
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Index: arch/build/system/linux32/PKGBUILD
diff -u /dev/null arch/build/system/linux32/PKGBUILD:1.1
--- /dev/null Sat Jul 7 19:17:08 2007
+++ arch/build/system/linux32/PKGBUILD Sat Jul 7 19:17:08 2007
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD,v 1.1 2007/07/07 23:17:08 andyrtr Exp $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+pkgname=linux32
+pkgver=1.0
+pkgrel=3
+pkgdesc="a wrapper tool that allows 64bit systems with support for 32 bit applications to set the personality to the 32 bit native type"
+arch=('x86_64')
+license="GPL"
+depends=('glibc')
+source=(http://ftp.debian.org/debian/pool/main/l/linux32/linux32_1.orig.tar.gz
+ http://ftp.debian.org/debian/pool/main/l/linux32/linux32_1-3.diff.gz)
+md5sums=('42d1ba563d7c7e88b80dcabd07840eb0'
+ 'a8bbcab955a827eafaf4280f1cca5ddd')
+
+build() {
+ cd $startdir/src/$pkgname-1.orig
+ patch -Np1 -i ../linux32_1-3.diff || return 1
+
+ gcc -o linux32 linux32.c || return 1
+
+ install -Dm755 linux32 $startdir/pkg/usr/bin/linux32
+ pushd ${startdir}/pkg/usr/bin
+ ln -s -v linux32 ../../usr/bin/linux64
+ popd
+
+ install -Dm644 linux32.1 $startdir/pkg/usr/man/man1/linux32.1
+}
\ No newline at end of file
More information about the arch-commits
mailing list