bin86: updated broken source, fixed build
This commit is contained in:
parent
4a0f53ce23
commit
8797433066
@ -9,4 +9,5 @@ drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/as86.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/elksemu.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/ld86.1.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/SynVDr4C5QxZm8Rix0sSqHYU4YmqEVXGLNiEKZ+NcI8H5JpoK9ZHmHLw0Hhu4RFPmZ2GzRCKJpOxw2LAzBL2AQ=
|
||||
SHA256 (Pkgfile) = 2223b62b8ceeac62596210809259270fec2554ba0ab3ffb27b7b13fe194a33a4
|
||||
SHA256 (.footprint) = 2991bc460e6ed6ee8256816fde768cb9f463b0dbe8d10e016501c10820f3035f
|
||||
SHA256 (bin86-0.16.21.tar.gz) = 021e37cde3a20632c4c9000993cb4aa9f58cb82b1d3c26b9aeb62d6566925738
|
||||
RWSE3ohX2g5d/d6qxhx3ANgqGL6qHuslqIBU2Ptkb0ANsFX+5xl/ObjB3LzNNhJVCIoMzIXgWhNnMLSz/QpsK5dVd6wmFAOpJQk=
|
||||
SHA256 (Pkgfile) = 0727205bd710c6d6ab04cb1e092630385f52524b460d721be4a4ae8421db43de
|
||||
SHA256 (.footprint) = d9b86e428945a9cd0b0e369f7338d9d0eb97a79cb104c20ddc3c31558ace01bf
|
||||
SHA256 (bin86-0.16.21-c83297b.tar.gz) = 56ce828fe6482ae5f9867e179de093fb5d8b49354e8079b53763d550fcac25f8
|
||||
SHA256 (bin86-x86_64.patch) = 3b41a07f6b31de8124d015f4526b9c1427771c3d7c9bd3bcbf888992f966bb47
|
||||
|
@ -1,17 +1,27 @@
|
||||
# Description: 8086 assembler and loader which can generate 32-bit code for the 386+ processors
|
||||
# URL: https://github.com/lkundrak/dev86/tree/master/bin86
|
||||
# URL: https://github.com/jbruchon/dev86
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
|
||||
name=bin86
|
||||
version=0.16.21
|
||||
release=1
|
||||
source=(https://mirror.netcologne.de/gentoo/distfiles/$name-$version.tar.gz
|
||||
release=2
|
||||
_commit=c83297b0dc5bf79dc900c005837a31e9c27f8aba
|
||||
source=(https://github.com/jbruchon/dev86/archive/$_commit/$name-$version-${_commit:0:7}.tar.gz
|
||||
$name-x86_64.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
cd dev86-$_commit
|
||||
|
||||
patch -p1 -i $SRC/$name-x86_64.patch
|
||||
|
||||
sed -i '/#include "version.h"/d' as/as.c ld/io.c
|
||||
|
||||
cd bin86
|
||||
for i in ld as man; do ln -s ../${i} .; done
|
||||
make -j1 CFLAGS="$CFLAGS -D_POSIX_SOURCE" PREFIX=/usr
|
||||
|
||||
install -d $PKG/usr/{bin,share/man/man1}
|
||||
make PREFIX=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
|
||||
|
||||
rm -rf $PKG/usr/share/man/man1/{bcc,elks,elsemu}.1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user