Annotation of /trunk/extras/bin86/bin86-0.16.17-r3.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1035 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1035 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/bin86/bin86-0.16.17-r3.smage2,v 1.1 2008/03/27 12:18:56 niro Exp $ |
2 | |||
3 | PNAME="bin86" | ||
4 | PVER="0.16.17" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCATEGORIE="dev-lang" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="This is a cross development C compiler, assembler and linker environment for the production of 8086 executables." | ||
11 | HOMEPAGE="http://www.debath.co.uk/" | ||
12 | |||
13 | DEPEND="" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mtools | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://homepage.ntlworld.com/robert.debath/dev86/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${PNAME}-${PVER}-x86_64.patch | ||
24 | ) | ||
25 | |||
26 | src_prepare() | ||
27 | { | ||
28 | munpack ${SRCFILE} || die | ||
29 | cd ${SRCDIR} | ||
30 | |||
31 | if [[ ${ARCH} = x86_64 ]] | ||
32 | then | ||
33 | # fixes build issues on x86_64 | ||
34 | mpatch ${PNAME}-${PVER}-x86_64.patch || die | ||
35 | fi | ||
36 | } | ||
37 | |||
38 | src_compile() | ||
39 | { | ||
40 | cd ${SRCDIR} | ||
41 | mmake || die | ||
42 | } | ||
43 | |||
44 | src_install() | ||
45 | { | ||
46 | cd ${SRCDIR} | ||
47 | minstalldir /usr/bin || die | ||
48 | minstalldir /usr/share/man/man1 || die | ||
49 | |||
50 | mmake PREFIX=${BINDIR}/usr MANDIR=/usr/share/man/man1 install || die | ||
51 | minstalldocs ChangeLog README* || die | ||
52 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |