2007-05-15 21:29:37 +02:00
|
|
|
# Description: cross development C compiler environment for the production of 8086 executables.
|
2020-02-13 21:15:50 -05:00
|
|
|
# URL: https://github.com/lkundrak/dev86/
|
2018-02-17 13:38:55 -05:00
|
|
|
# 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 15:58:54 -05:00
|
|
|
release=3
|
2020-02-13 21:15:50 -05:00
|
|
|
source=(https://github.com/lkundrak/dev86/archive/v$version/Dev86src-$version.tar.gz
|
2018-02-17 13:38:55 -05:00
|
|
|
bin86-x86_64.patch)
|
2007-05-15 21:29:37 +02:00
|
|
|
|
|
|
|
build() {
|
2018-02-17 13:38:55 -05: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 15:58:54 -05:00
|
|
|
echo quit | make -j1 PREFIX=/usr GCCFLAG="$CFLAGS -D_POSIX_SOURCE"
|
2018-02-17 13:38:55 -05:00
|
|
|
make -j1 install-all PREFIX=/usr MANDIR=/usr/share/man DIST=$PKG
|
2013-10-14 13:54:01 +02:00
|
|
|
|
2018-02-17 13:38:55 -05: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
|
|
|
|