Contents of /smage/trunk/core/nasm/nasm-2.07-r1.smage2
Parent Directory | Revision Log
Revision 133 -
(show annotations)
(download)
Thu Jan 7 18:06:35 2010 UTC (14 years, 8 months ago) by niro
File size: 1428 byte(s)
Thu Jan 7 18:06:35 2010 UTC (14 years, 8 months ago) by niro
File size: 1428 byte(s)
auto added: ver bump to 2.07-r1
1 | # $Id$ |
2 | |
3 | PNAME="nasm" |
4 | PVER="2.07" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-lang" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="NASM is an 80x86 assembler designed for portability and modularity." |
11 | HOMEPAGE="http://nasm.sourceforge.net/" |
12 | |
13 | DEPEND=">= dev-lang/perl-5 |
14 | >= sys-dev/gcc-3" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mtools mbuild |
20 | |
21 | SRC_URI=( |
22 | sourceforge://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${PNAME}-2.02-remove-doc-target.patch |
25 | ) |
26 | |
27 | # the sources are called 'nasm sources' on sf.net |
28 | UP2DATE="updatecmd_sourceforge ${PNAME} '${PNAME} sources' - ${PNAME}" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # removes docs from install |
36 | mpatch ${PNAME}-2.02-remove-doc-target.patch || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure || die |
44 | # eglibc doesnt like parallel builds |
45 | mmake -j1 everything || die |
46 | } |
47 | |
48 | src_install() |
49 | { |
50 | cd ${SRCDIR} |
51 | |
52 | # needed directories |
53 | minstalldir /usr/bin || die |
54 | |
55 | # installs binaries |
56 | minstallexec nasm || die |
57 | minstallexec ndisasm || die |
58 | minstallexec rdoff/ldrdf || die |
59 | minstallexec rdoff/rdf2bin || die |
60 | minstallexec rdoff/rdf2ihx || die |
61 | minstallexec rdoff/rdfdump || die |
62 | minstallexec rdoff/rdflib || die |
63 | minstallexec rdoff/rdx || die |
64 | |
65 | # nesseccary symlink |
66 | mlink /usr/bin/rdf2bin /usr/bin/rdf2com || die |
67 | |
68 | # man-pages |
69 | minstallman nasm.1 ndisasm.1 || die |
70 | minstalldocs AUTHORS ChangeLog CHANGES COPYING README TODO || die |
71 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |