Magellan Linux

Annotation of /trunk/extras/bin86/bin86-0.16.17-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2098 - (hide annotations) (download)
Thu Jun 18 22:06:23 2009 UTC (15 years ago) by niro
File size: 1029 byte(s)
auto added: ver bump to 0.16.17-r4
1 niro 2098 # $Id$
2    
3     PNAME="bin86"
4     PVER="0.16.17"
5     PBUILD="r4"
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     UP2DATE="updatecmd http://www.debath.co.uk/dev86/ | grep ${PNAME} | lasttarball gz"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     if [[ ${ARCH} = x86_64 ]]
34     then
35     # fixes build issues on x86_64
36     mpatch ${PNAME}-${PVER}-x86_64.patch || die
37     fi
38     }
39    
40     src_compile()
41     {
42     cd ${SRCDIR}
43     mmake || die
44     }
45    
46     src_install()
47     {
48     cd ${SRCDIR}
49     minstalldir /usr/bin || die
50     minstalldir /usr/share/man/man1 || die
51    
52     mmake PREFIX=${BINDIR}/usr MANDIR=/usr/share/man/man1 install || die
53     minstalldocs ChangeLog README* || die
54     }

Properties

Name Value
svn:keywords Id