Contents of /trunk/core/nasm/nasm-2.09.10-r1.smage2
Parent Directory | Revision Log
Revision 10234 -
(show annotations)
(download)
Fri Jan 20 10:37:11 2012 UTC (12 years, 8 months ago) by niro
File size: 1226 byte(s)
Fri Jan 20 10:37:11 2012 UTC (12 years, 8 months ago) by niro
File size: 1226 byte(s)
-no check target in Makefile
1 | # $Id$ |
2 | |
3 | PNAME="nasm" |
4 | PVER="2.09.10" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-lang" |
8 | |
9 | DESCRIPTION="NASM is an 80x86 assembler designed for portability and modularity." |
10 | HOMEPAGE="http://nasm.sourceforge.net/" |
11 | |
12 | DEPEND=">= dev-lang/perl-5.14 |
13 | >= sys-dev/gcc-4.6" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mtools mbuild |
19 | msetfeature "!check" |
20 | |
21 | SRC_URI=( |
22 | http://www.nasm.us/pub/${PNAME}/releasebuilds/${PVER}/${SRCFILE} |
23 | #sourceforge://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${PNAME}-2.02-remove-doc-target.patch |
26 | ) |
27 | |
28 | # the sources are called 'nasm sources' on sf.net |
29 | #UP2DATE="updatecmd_sourceforge ${PNAME} '${PNAME} sources'" |
30 | UP2DATE="updatecmd -listonly http://www.nasm.us/pub/${PNAME}/releasebuilds/'?C=M;O=A' | grep -v rc | sed -n 's:.*/\(.*\)/:\1:;$ p'" |
31 | |
32 | src_prepare() |
33 | { |
34 | munpack ${SRCFILE} || die |
35 | cd ${SRCDIR} |
36 | |
37 | # removes docs from install |
38 | mpatch ${PNAME}-2.02-remove-doc-target.patch || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | cd ${SRCDIR} |
44 | |
45 | mconfigure || die |
46 | # eglibc doesnt like parallel builds |
47 | mmake -j1 everything || die |
48 | } |
49 | |
50 | src_install() |
51 | { |
52 | cd ${SRCDIR} |
53 | |
54 | mmake INSTALLROOT=${BINDIR} install install_rdf || die |
55 | minstalldocs AUTHORS ChangeLog CHANGES COPYING README TODO || die |
56 | } |