summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-20 20:02:46 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-20 20:02:46 +0100
commite3965dfe857d14283188694a708c7f31d6ce527e (patch)
tree06135e18bdc429c81164f0b57725bc81e9889f0e /base
parente13e6931e7da340af208e6206af5f3c6113020e8 (diff)
downloadnutyx-pakxe-e3965dfe857d14283188694a708c7f31d6ce527e.tar.gz
nutyx-pakxe-e3965dfe857d14283188694a708c7f31d6ce527e.tar.bz2
nutyx-pakxe-e3965dfe857d14283188694a708c7f31d6ce527e.tar.xz
nutyx-pakxe-e3965dfe857d14283188694a708c7f31d6ce527e.zip
bin86, ajout patch
Diffstat (limited to 'base')
-rw-r--r--base/bin86/.md5sum.i6861
-rw-r--r--base/bin86/.md5sum.x86_641
-rw-r--r--base/bin86/Pkgfile10
3 files changed, 8 insertions, 4 deletions
diff --git a/base/bin86/.md5sum.i686 b/base/bin86/.md5sum.i686
index a1be0ff6f..9f2ba552d 100644
--- a/base/bin86/.md5sum.i686
+++ b/base/bin86/.md5sum.i686
@@ -1 +1,2 @@
+4c04c0af7c2ba637d61e67eac2a59840 bin86-0.16.17-x86_64-1.patch
c9e8d72dd2e7457b52d0e3164fc199a1 bin86-0.16.17.tar.gz
diff --git a/base/bin86/.md5sum.x86_64 b/base/bin86/.md5sum.x86_64
index a1be0ff6f..9f2ba552d 100644
--- a/base/bin86/.md5sum.x86_64
+++ b/base/bin86/.md5sum.x86_64
@@ -1 +1,2 @@
+4c04c0af7c2ba637d61e67eac2a59840 bin86-0.16.17-x86_64-1.patch
c9e8d72dd2e7457b52d0e3164fc199a1 bin86-0.16.17.tar.gz
diff --git a/base/bin86/Pkgfile b/base/bin86/Pkgfile
index 7ae53fd7f..cc498679f 100644
--- a/base/bin86/Pkgfile
+++ b/base/bin86/Pkgfile
@@ -2,15 +2,17 @@
# URL: http://www.cix.co.uk/~mayday/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=bin86
version=0.16.17
-release=2
-source=(http://homepage.ntlworld.com/robert.debath/dev86/$name-$version.tar.gz)
-
+release=3
+source=(http://homepage.ntlworld.com/robert.debath/dev86/$name-$version.tar.gz\
+ http://nutyx.meticul.eu/files/patchs/$name/$name-$version-x86_64-1.patch)
build() {
cd $name-$version
+ if [ "`uname -m`" == "x86_64" ]; then
+ patch -Np1 -i ../bin86-0.16.17-x86_64-1.patch
+ fi
make CFLAGS="$CFLAGS -D_POSIX_SOURCE" PREFIX=/usr
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/man/man1