diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-10-23 07:48:13 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-10-23 07:48:13 +0000 |
commit | d270bc2c3910d3efbf7365ae8e2194bd40b3473a (patch) | |
tree | c2eb3ecb356983309a49a162e2369abbeb03a644 /sys-power | |
parent | First version of paisley (so we can run Raindrop soon!). (diff) | |
download | historical-d270bc2c3910d3efbf7365ae8e2194bd40b3473a.tar.gz historical-d270bc2c3910d3efbf7365ae8e2194bd40b3473a.tar.bz2 historical-d270bc2c3910d3efbf7365ae8e2194bd40b3473a.zip |
Version bump.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/iasl/ChangeLog | 7 | ||||
-rw-r--r-- | sys-power/iasl/Manifest | 5 | ||||
-rw-r--r-- | sys-power/iasl/iasl-20091013.ebuild | 127 |
3 files changed, 137 insertions, 2 deletions
diff --git a/sys-power/iasl/ChangeLog b/sys-power/iasl/ChangeLog index 574e3163511b..b8860752918e 100644 --- a/sys-power/iasl/ChangeLog +++ b/sys-power/iasl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-power/iasl # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.29 2009/10/07 16:15:23 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.30 2009/10/23 07:48:13 robbat2 Exp $ + +*iasl-20091013 (23 Oct 2009) + + 23 Oct 2009; Robin H. Johnson <robbat2@gentoo.org> +iasl-20091013.ebuild: + Version bump. 07 Oct 2009; nixnut <nixnut@gentoo.org> iasl-20090123.ebuild: ppc stable #271248 diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest index 7fa507ba21de..b1550ff3000f 100644 --- a/sys-power/iasl/Manifest +++ b/sys-power/iasl/Manifest @@ -8,16 +8,19 @@ DIST acpica-unix-20080701.tar.gz 891421 RMD160 653aa66eb48b0a505c4658333e75f81c8 DIST acpica-unix-20090123.tar.gz 926897 RMD160 a3079a3651f8320bf1411b95c4b46164a8da688b SHA1 423ae69b088ff63af7399fa2a3e9142dc9ae00a7 SHA256 497136355064aad9a1726f9f9ce9c6e60369ff30bceab0b4f155845b4a608250 DIST acpica-unix-20090521.tar.gz 940506 RMD160 a69ee35de241aab09d5df99f47128860ded1e425 SHA1 70ad3dd5d95624dfb7e2f87673e2350052425f3a SHA256 612c58b4ff8dd142d6f1714f11efc174698f3f230abbc0cb7d09c2210873672c DIST acpica-unix-20090903.tar.gz 951383 RMD160 8e1520c8650d18d3b565d97af91413efc09cad49 SHA1 4c11d015dd7f1b9c9805588739275869f9b27d64 SHA256 dab28561abdb0a9082fa720e5510c9074cff460724304b5b61b637d4d27f8b64 +DIST acpica-unix-20091013.tar.gz 957187 RMD160 8208761bd280e9c9cafa9538d7ebb21ae947d473 SHA1 d47878529097fc7c2409f4f9f8eae71f21b8078b SHA256 26c105a5d551e76c450a368371394ca09f7dd8b7f876d0500a6ffec37a19bd45 DIST acpitests-unix-20080514.tar.gz 1898223 RMD160 16075cb2f69ab0ef0b8388b79186c8c000a1722f SHA1 1a2f41fe75cc32d32661fcaa6f1c6e4aca3455eb SHA256 6e43826295874c6dbd17cd7e4fbacfcd6a2d1581626591c797ee5d94d59faa86 DIST acpitests-unix-20080701.tar.gz 1880102 RMD160 23b7b14c6f518b14ce7786d12a55debe78b997f2 SHA1 6be97af198917a0168f89178316e8b79715a15ac SHA256 8dc21976da4d2ee8e4cff6cd6b807c5dcfbbdbe0ec0562d0d435b7563680bdb5 DIST acpitests-unix-20090123.tar.gz 1880717 RMD160 a8aea45b2d5ec2050db4cb2d474c55ff14a196b1 SHA1 eccb018d4fad73be67a34ac0848b23be575518be SHA256 d46788816bf677601ad050280260db5f04ddd30f7e2b131e2fc4f26f256de290 DIST acpitests-unix-20090521.tar.gz 1926171 RMD160 ee3083dc7b2109e0e0b43e0b12eec5865c09f1bb SHA1 9f76943ffdea9e7e4ffc4a4ec15caebfc3f6f447 SHA256 1b1d59bacafbb8b17e8cc5088595232875e2a6b7c2ad14ba716300509ad46d1b DIST acpitests-unix-20090903.tar.gz 1949552 RMD160 6efbdc0072c229b98015b9dd4300360984af1dda SHA1 844a84119a377f15e40db7e1a1afe17ed44d4428 SHA256 2b1766ee1e177a0ef397cb1302ae032171c842be4aed7d2cdb50cbeb84e73f06 +DIST acpitests-unix-20091013.tar.gz 1949552 RMD160 4c0b160c920844f19a9fa5d6392b63af7d73ba99 SHA1 4d362e13f1404fe0770d4c5f129f1f1c13a4a5a3 SHA256 1f220bca2e19b9728fc208f4951d37fa5dc5769e986bd91ac72a8b9e0c69e9e3 EBUILD iasl-20060912.ebuild 1164 RMD160 e0f61b613639cbd3d2272809c38ebe132b4fcea0 SHA1 759656f4c2522e274fc3cbcb7e3ac696e81cdc27 SHA256 d3cd2c4929fa374280f48780035854850c53c0bf3c9509bf4ef273fa2f484f36 EBUILD iasl-20080514.ebuild 3253 RMD160 a903415646a6b1fef3c166b273a6ec43dcb2af71 SHA1 469b416c56a17d2ebb8867f54064e0cdc52e26aa SHA256 ef4a15c6d2db618573d6d237e0c5dc4a97783f6850cea50978cb3e028a564af8 EBUILD iasl-20080701.ebuild 3346 RMD160 d59b04dd46599a24bfe0dea92c66baa3a440fb9c SHA1 3bd16cecb19a1db271dd76cca3a7620513b60bf3 SHA256 acd03b066ae6d247b6609eaffdd3f3d5e39b2d43040035138c53b56fbe7313a7 EBUILD iasl-20090123.ebuild 3447 RMD160 aa91fdccfa5dbf9507215cbdc6b483affb9c65d9 SHA1 f2e3131f655d44dce99a51709c1731fc3eaaca42 SHA256 1ff48471ffb36117d7ab4473fef9f99e74c8d85f35008ce4aa16fc9756531bb0 EBUILD iasl-20090521.ebuild 3466 RMD160 7db34753b46723ea486a38ae6f879c10350272ff SHA1 79428ed8310e0b604ca9c8aa0dfc8f94bd9f6a20 SHA256 935d2c8eb13e6a71d6c2e1b2573e7d1cb6b02bc35a00aacf4407381b85bc30ab EBUILD iasl-20090903.ebuild 3507 RMD160 6d7b73c5d1e7b37b3f262e824b469c255501fe46 SHA1 74a62d68b17e96923e6122097e076d96d5160aba SHA256 cd34841d6698e168e4abb7397d45c4561094ae4d9e07c1c9ca297124bbc46e08 -MISC ChangeLog 4697 RMD160 7bb10f46997621f2c2d4764400fd437b054b3644 SHA1 4c78a6a4aed549410e5eeb72b7814690508c81ed SHA256 aae70e4addf5c1f2837c9510823640321fb72eade4824fef8a894a810c05beaf +EBUILD iasl-20091013.ebuild 3507 RMD160 ad42d1c7671d9b27026ee6d534b70990244a9b28 SHA1 5e5bd186d348635f4bc7d3f0fb8a1bc3a6a80edd SHA256 8b64105b723917e7c7c5da52dae77ef2817962ba5c15d7f48b27ed446e790ff3 +MISC ChangeLog 4821 RMD160 432d11f7e539be72ef87aeece6af4d27c1fdd1d1 SHA1 7dff7194df7a26b4fc4ab494772d8898793143de SHA256 3598596a90065315c70352684a09f04977ff122ce0bf17f13e4fd843ee863d8b MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 diff --git a/sys-power/iasl/iasl-20091013.ebuild b/sys-power/iasl/iasl-20091013.ebuild new file mode 100644 index 000000000000..f81b1fa87d3c --- /dev/null +++ b/sys-power/iasl/iasl-20091013.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20091013.ebuild,v 1.1 2009/10/23 07:48:13 robbat2 Exp $ + +inherit toolchain-funcs flag-o-matic eutils + +MY_PN=acpica-unix +MY_P=${MY_PN}-${PV} +MY_TESTS_P=${MY_PN/ca/tests}-${PV} +DESCRIPTION="Intel ACPI Source Language (ASL) compiler" +HOMEPAGE="http://www.intel.com/technology/iapc/acpi/" +SRC_URI="http://www.acpica.org/download/${MY_P}.tar.gz + test? ( http://www.acpica.org/download/${MY_TESTS_P}.tar.gz )" + +LICENSE="iASL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" + +IUSE="test" +DEPEND="sys-devel/bison + sys-devel/flex" + +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use test + then + ewarn 'You have selected USE="test". This will install the test results' + ewarn "into /usr/share/${PF}/, compressed as a tarball." + ewarn 'The tests themselves will only rarely die, but the test results' + ewarn 'are interesting for arch testing. The tests may take quite some' + ewarn 'time to complete.' + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/iasl-20080701-parallelmake.patch + epatch "${FILESDIR}"/iasl-locale.patch + + sed -i -e 's:LDFLAGS=:LDLIBS+=:' \ + "${S}"/compiler/Makefile || die "unable to fix compiler Makefile" +} + +src_compile() { + local target bin + append-flags -fno-strict-aliasing + + for target in compiler tools/acpisrc tools/acpixtract tools/acpiexec + do + einfo "Compiling in ${target}/" + cd "${S}"/${target} + case "${target}" in + compiler) bin=iasl;; + *) bin=${target#*/};; + esac + + emake CC="$(tc-getCC)" || die "emake in ${target} failed" + einfo "Finished compiling ${target}" + + mv ${bin} "${T}" || die "mv ${bin} failed" + einfo "Finished moving ${bin}" + + make clean || die "make clean in ${target} failed" + einfo "Finished cleaning ${target}" + + echo ${bin} >>"${T}"/binlist + done + einfo "$(<"${T}"/binlist)" +} + +src_test() { + aslts_test + #aapits_test + #The aapits test currently fails, missing include probably. +} + +src_install() { + local bin + for bin in $(<"${T}"/binlist) ; do + dobin "${T}"/${bin} + done + dodoc README changes.txt + if use test ; then + tb="${T}"/testresults.tar.bz2 + export ASLTSDIR="$(<"${T}"/asltdir)" + ebegin "Creating Test Tarball" + tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed" + eend $? + dodir /usr/share/${PF} + insinto /usr/share/${PF} + doins ${tb} || die "doins testresults.tar.bz2 failed" + fi + +} + +aslts_test() { + export ASL="${T}"/iasl \ + acpiexec="${T}"/acpiexec \ + ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts + export PATH="${PATH}:${ASLTSDIR}/bin" + echo "$ASLTSDIR" >"${T}"/asltdir + cd "${ASLTSDIR}" + edos2unix $(find . -type 'f') || die "edos2unix failed in aslts" + make install || die "make install aslts test failed" + chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed" + + #The below Do commands runs the tests twice and then dies if the results aren't + #Identical. + Do 1 || die "failed Do 1" + Do 2 || die "failed Do 2" +} + +aapits_test() { + mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed" + cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits" + edos2unix $(find . -type 'f') || die "edos2unix failed in aapits" + chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed" + make || die "make in aapits failed" + cd asl || die "cd asl failed" + make || die "make in asl failed" + cd ../bin + ./aapitsrun || die "aapitsrun failed" +} |