Magellan Linux

Annotation of /branches/R11-stable/core/nasm/nasm-2.10.06-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14884 - (hide annotations) (download)
Wed Jan 2 09:36:44 2013 UTC (11 years, 5 months ago) by niro
File size: 1079 byte(s)
-release branches/R11-stable
1 niro 14275 # $Id$
2    
3     PNAME="nasm"
4     PVER="2.10.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.16
13     >= sys-dev/gcc-4.7"
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     mirror://${PNAME}/${PNAME}-2.10-remove-doc-target.patch
25     )
26    
27     UP2DATE="updatecmd -listonly http://www.nasm.us/pub/${PNAME}/releasebuilds/'?C=M;O=A' | grep -v rc | sed -n 's:.*/\(.*\)/:\1:;$ p'"
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # removes docs from install
35     mpatch ${PNAME}-2.10-remove-doc-target.patch || die
36     }
37    
38     src_compile()
39     {
40     cd ${SRCDIR}
41    
42     mconfigure || die
43     # eglibc doesnt like parallel builds
44     mmake -j1 everything || die
45     }
46    
47     src_install()
48     {
49     cd ${SRCDIR}
50    
51     mmake INSTALLROOT=${BINDIR} install install_rdf || die
52     minstalldocs AUTHORS ChangeLog CHANGES COPYING README TODO || die
53     }