Annotation of /branches/magellan-next/extras/bin86/bin86-0.16.18-r1.smage2
Parent Directory | Revision Log
Revision 8052 -
(hide annotations)
(download)
Wed Jun 29 13:34:00 2011 UTC (12 years, 10 months ago) by niro
File size: 993 byte(s)
Wed Jun 29 13:34:00 2011 UTC (12 years, 10 months ago) by niro
File size: 993 byte(s)
-fixed SRC_URI
1 | niro | 8051 | # $Id$ |
2 | |||
3 | PNAME="bin86" | ||
4 | PVER="0.16.18" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="dev-lang" | ||
8 | |||
9 | DESCRIPTION="This is a cross development C compiler, assembler and linker environment for the production of 8086 executables." | ||
10 | HOMEPAGE="http://www.debath.co.uk/" | ||
11 | |||
12 | DEPEND="" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | sminclude mtools | ||
18 | |||
19 | SRC_URI=( | ||
20 | niro | 8052 | http://www.debath.co.uk/dev86/${SRCFILE} |
21 | niro | 8051 | mirror://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${PNAME}-0.16.17-x86_64.patch | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd http://www.debath.co.uk/dev86/ | grep ${PNAME} | lasttarball gz" | ||
26 | |||
27 | src_prepare() | ||
28 | { | ||
29 | munpack ${SRCFILE} || die | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | if [[ ${ARCH} = x86_64 ]] | ||
33 | then | ||
34 | # fixes build issues on x86_64 | ||
35 | mpatch ${PNAME}-0.16.17-x86_64.patch || die | ||
36 | fi | ||
37 | } | ||
38 | |||
39 | src_compile() | ||
40 | { | ||
41 | cd ${SRCDIR} | ||
42 | mmake || die | ||
43 | } | ||
44 | |||
45 | src_install() | ||
46 | { | ||
47 | cd ${SRCDIR} | ||
48 | minstalldir /usr/bin || die | ||
49 | minstalldir /usr/share/man/man1 || die | ||
50 | |||
51 | mmake PREFIX=${BINDIR}/usr MANDIR=/usr/share/man/man1 install || die | ||
52 | minstalldocs ChangeLog README* || die | ||
53 | } |