2007-05-15 21:29:37 +02:00
|
|
|
# Description: cross development C compiler environment for the production of 8086 executables.
|
2018-02-17 19:38:55 +01:00
|
|
|
# URL: http://v3.sk/~lkundrak/dev86/
|
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
2007-05-15 21:29:37 +02:00
|
|
|
|
|
|
|
name=dev86
|
2014-08-08 09:54:46 +02:00
|
|
|
version=0.16.21
|
2018-02-17 19:38:55 +01:00
|
|
|
release=2
|
|
|
|
source=(http://v3.sk/~lkundrak/dev86/Dev86src-$version.tar.gz
|
|
|
|
bin86-x86_64.patch)
|
2007-05-15 21:29:37 +02:00
|
|
|
|
|
|
|
build() {
|
2018-02-17 19:38:55 +01:00
|
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/bin86-x86_64.patch
|
|
|
|
sed -i -e 's,/man/,/share/man/,' dis88/Makefile
|
2013-10-14 13:54:01 +02:00
|
|
|
|
2018-02-17 19:38:55 +01:00
|
|
|
make -j1 PREFIX=/usr GCCFLAG="$CFLAGS -D_POSIX_SOURCE"
|
|
|
|
make -j1 install-all PREFIX=/usr MANDIR=/usr/share/man DIST=$PKG
|
2013-10-14 13:54:01 +02:00
|
|
|
|
2018-02-17 19:38:55 +01:00
|
|
|
rm -f $PKG/usr/bin/{as,ld,nm,objdump,size}86
|
|
|
|
rm -f $PKG/usr/share/man/man1/{as,ld}86.1
|
2007-05-15 21:29:37 +02:00
|
|
|
}
|
2009-10-26 09:19:19 +01:00
|
|
|
|