Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8062 - (show annotations) (download)
Wed Jun 29 14:02:18 2011 UTC (12 years, 11 months ago) by niro
File size: 845 byte(s)
-disable -Werror to fix build with gcc-4.6
1 # $Id$
2
3 PNAME="iasl"
4 PVER="20110316"
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 >= sys-apps/sed-4"
16
17 SRCFILE="acpica-unix-${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/acpica-unix-${PVER}"
19
20 sminclude mtools
21
22 SRC_URI=(
23 http://www.acpica.org/download/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2DATE="updatecmd ${HOMEPAGE}/downloads/unix_source_code.php | lasttarball gz"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE}
32 cd ${SRCDIR}
33
34 # disable -werror to fix build with gcc-4.6
35 sed -i 's:-Werror::g' compiler/Makefile || die
36 }
37
38 src_compile()
39 {
40 # only the compiler
41 cd ${SRCDIR}
42 mmake -j1 -C compiler || die
43 }
44
45 src_install()
46 {
47 cd ${SRCDIR}
48 minstallexec compiler/iasl || die
49 minstalldocs changes.txt README || die
50 }