Contents of /branches/R11-stable/core/nasm/nasm-2.11.06-r1.smage2
Parent Directory | Revision Log
Revision 22703 -
(show annotations)
(download)
Tue Oct 28 08:28:17 2014 UTC (9 years, 11 months ago) by niro
File size: 830 byte(s)
Tue Oct 28 08:28:17 2014 UTC (9 years, 11 months ago) by niro
File size: 830 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="nasm" |
4 | PVER="2.11.06" |
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.18 |
13 | >= sys-dev/gcc-4.8" |
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 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd -listonly http://www.nasm.us/pub/${PNAME}/releasebuilds/'?C=M;O=A' | grep -v rc | sed -n 's:.*/\(.*\)/:\1:;$ p'" |
27 | |
28 | src_compile() |
29 | { |
30 | cd ${SRCDIR} |
31 | |
32 | mconfigure || die |
33 | mmake all || die |
34 | } |
35 | |
36 | src_install() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | mmake INSTALLROOT=${BINDIR} install install_rdf || die |
41 | minstalldocs AUTHORS ChangeLog CHANGES COPYING README TODO || die |
42 | } |