contrib/dev86/Pkgfile

23 lines
693 B
Plaintext
Raw Normal View History

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