Magellan Linux

Contents of /branches/magellan-next/extras/iasl/iasl-20110623-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8063 - (show annotations) (download)
Wed Jun 29 14:07:08 2011 UTC (12 years, 10 months ago) by niro
File size: 826 byte(s)
-disable -Werror to fix build with gcc-4.6
1 # $Id$
2
3 PNAME="iasl"
4 PVER="20110623"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-util"
8
9 DESCRIPTION="The latest IASL compiler for Linux."
10 HOMEPAGE="http://www.acpica.org/"
11
12 DEPEND=""
13 SDEPEND=">= sys-dev/bison-2.5
14 >= sys-dev/flex-2.5.35"
15
16 SRCFILE="acpica-unix-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/acpica-unix-${PVER}"
18
19 sminclude mtools
20
21 SRC_URI=(
22 http://www.acpica.org/download/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd ${HOMEPAGE}/downloads/unix_source_code.php | lasttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE}
31 cd ${SRCDIR}
32
33 # disable -werror to fix build with gcc-4.6
34 sed -i 's:-Werror::g' compiler/Makefile || die
35 }
36
37 src_compile()
38 {
39 # only the compiler
40 cd ${SRCDIR}
41 mmake -j1 -C compiler || die
42 }
43
44 src_install()
45 {
46 cd ${SRCDIR}
47 minstallexec compiler/iasl || die
48 minstalldocs changes.txt README || die
49 }