Added bin86-0.16.17 build template.

--HG--
extra : convert_revision : fca781441c2812386dc7a0f244292e63c0dc7fed
This commit is contained in:
Juan RP 2010-02-23 16:23:44 +01:00
parent b41d66939f
commit c756cffd61
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--- ld/x86_aout.h 2005-11-07 20:07:31.506442000 +0100
+++ ld/x86_aout.h 2020-02-07 20:07:41.106982496 +0100
@@ -12,6 +12,9 @@
#if defined(i386) || defined(__BCC__) || defined(MSDOS)
typedef long Long;
#define __OUT_OK 1
+#elif defined(__x86_64__)
+typedef int Long;
+#define __OUT_OK 1
#else
typedef char Long[4];
#endif

20
srcpkgs/bin86/template Normal file
View file

@ -0,0 +1,20 @@
# Template file for 'bin86'
pkgname=bin86
version=0.16.17
distfiles="http://www.debath.co.uk/dev86/bin86-$version.tar.gz"
build_style=gnu_makefile
make_build_args="PREFIX=/usr"
make_install_args="PREFIX=$XBPS_DESTDIR/$pkgname-$version/usr
MANDIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/man/man1"
short_desc="A complete 8086 assembler and loader"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=429ba36cb6220083ad7cf56d644b7265d401e631c93eb42f4b7ab9bb48c6829c
long_desc="
This package provides a complete 8086 assembler and loader."
Add_dependency run glibc
pre_install()
{
install -d ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
}