summaryrefslogtreecommitdiffstats
path: root/base/bin86/Pkgfile
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/bin86/Pkgfile
parente13e6931e7da340af208e6206af5f3c6113020e8 (diff)
downloadnutyx-extra-e3965dfe857d14283188694a708c7f31d6ce527e.tar.gz
nutyx-extra-e3965dfe857d14283188694a708c7f31d6ce527e.tar.bz2
nutyx-extra-e3965dfe857d14283188694a708c7f31d6ce527e.tar.xz
nutyx-extra-e3965dfe857d14283188694a708c7f31d6ce527e.zip
bin86, ajout patch
Diffstat (limited to 'base/bin86/Pkgfile')
-rw-r--r--base/bin86/Pkgfile10
1 files changed, 6 insertions, 4 deletions
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