Contents of /smage/trunk/extras/nasm/nasm-2.02-r3.smage2
Parent Directory | Revision Log
Revision 1152 -
(show annotations)
(download)
Tue Aug 4 19:16:45 2009 UTC (14 years, 10 months ago) by niro
File size: 1404 byte(s)
Tue Aug 4 19:16:45 2009 UTC (14 years, 10 months ago) by niro
File size: 1404 byte(s)
-moved to 'extras'
1 | # $Header: /alx-cvs/smage-eglibc/nasm/nasm-2.02-r3.smage2,v 1.1 2008/03/04 15:16:18 niro Exp $ |
2 | |
3 | PNAME="nasm" |
4 | PVER="2.02" |
5 | PBUILD="r3" |
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 alx |
20 | |
21 | SRC_URI=( |
22 | sourceforge://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${PNAME}-${PVER}-remove-doc-target.patch |
25 | ) |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | cd ${SRCDIR} |
31 | |
32 | # removes docs from install |
33 | mpatch ${PNAME}-${PVER}-remove-doc-target.patch || die |
34 | } |
35 | |
36 | src_compile() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | mconfigure || die |
41 | # eglibc doesnt like parallel builds |
42 | mmake -j1 everything || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | # needed directories |
50 | minstalldir /usr/bin || die |
51 | |
52 | # installs binaries |
53 | minstallexec nasm || die |
54 | minstallexec ndisasm || die |
55 | minstallexec rdoff/ldrdf || die |
56 | minstallexec rdoff/rdf2bin || die |
57 | minstallexec rdoff/rdf2ihx || die |
58 | minstallexec rdoff/rdfdump || die |
59 | minstallexec rdoff/rdflib || die |
60 | minstallexec rdoff/rdx || die |
61 | |
62 | # nesseccary symlink |
63 | mlink /usr/bin/rdf2bin /usr/bin/rdf2com || die |
64 | |
65 | # man-pages |
66 | minstallman nasm.1 ndisasm.1 || die |
67 | minstalldocs AUTHORS ChangeLog CHANGES COPYING README TODO || die |
68 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |