diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-05-26 02:07:59 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-05-26 02:07:59 +0000 |
commit | 31ff51e5abd9fbd9209ba17c088f0dfe85db6d81 (patch) | |
tree | 2dc210e850096f7d250efbd5763ad8d53aab4b3c /sys-power/iasl | |
parent | add missing libnotify to IUSE (diff) | |
download | historical-31ff51e5abd9fbd9209ba17c088f0dfe85db6d81.tar.gz historical-31ff51e5abd9fbd9209ba17c088f0dfe85db6d81.tar.bz2 historical-31ff51e5abd9fbd9209ba17c088f0dfe85db6d81.zip |
Bug #270925: version bump.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-power/iasl')
-rw-r--r-- | sys-power/iasl/ChangeLog | 7 | ||||
-rw-r--r-- | sys-power/iasl/Manifest | 15 | ||||
-rw-r--r-- | sys-power/iasl/iasl-20090521.ebuild | 126 |
3 files changed, 136 insertions, 12 deletions
diff --git a/sys-power/iasl/ChangeLog b/sys-power/iasl/ChangeLog index 829feeea4f57..0fa80eabdb4b 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.23 2009/02/03 19:23:25 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.24 2009/05/26 02:07:59 robbat2 Exp $ + +*iasl-20090521 (26 May 2009) + + 26 May 2009; Robin H. Johnson <robbat2@gentoo.org> +iasl-20090521.ebuild: + Bug #270925: version bump. 03 Feb 2009; Diego E. Pettenò <flameeyes@gentoo.org> iasl-20090123.ebuild: diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest index ecf3f35f547d..93f231853c5e 100644 --- a/sys-power/iasl/Manifest +++ b/sys-power/iasl/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX acpica-unix-20051216-buildfixup.patch 6542 RMD160 7609304a7f74b836f662486d5d0c44644767ea1f SHA1 99f44514a7fa48c10fb8a339b9b0968f2d6d7ea3 SHA256 a6a1dc686dc3ce14fc1035953c3b708474a7e134fd2dc8b4993b2d99f1261ba0 AUX acpica-unix-20060512-buildfixup.patch 5876 RMD160 9efd45283e2aff4558849ee5f46dcc6d2de5c572 SHA1 5cce3c7617de36457fa72901879f9914f3aabbf4 SHA256 ca1b41b22aed0e9d2ae154e95fc4761f66c40c8d493a3d7163edf75e43c46361 AUX iasl-20080701-parallelmake.patch 1598 RMD160 9ab6a9799c501cacbd62676057eb060db96a1f98 SHA1 6a683e1c573cb5c655785aec739cec27d0ac9f9c SHA256 77cbcd37bfd9c6804166d58faba53414ac3595ef4e81811915dbbd9a655dfdba @@ -8,19 +5,15 @@ DIST acpica-unix-20060912.tar.gz 859242 RMD160 e8c10dd73912243e2b0e5b13b45342a96 DIST acpica-unix-20080514.tar.gz 887758 RMD160 9824cd2643a134db37383849f1dfb1e44beecde0 SHA1 cb0ada08bc4acaaabbf23b7d1f2677bd9861073a SHA256 2b4b078e1234ea65b05db680566e9122c90dc0b754c9df087666bfbd3d70c086 DIST acpica-unix-20080701.tar.gz 891421 RMD160 653aa66eb48b0a505c4658333e75f81c8212415f SHA1 b48241592339fc3c3ddca7cbf599868b1b90bd00 SHA256 b1768267de4cfc52e5b347fa9f198bbcdebca2b605eeb015b051027dbb9f6e0b 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 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 EBUILD iasl-20060912.ebuild 1164 RMD160 e0f61b613639cbd3d2272809c38ebe132b4fcea0 SHA1 759656f4c2522e274fc3cbcb7e3ac696e81cdc27 SHA256 d3cd2c4929fa374280f48780035854850c53c0bf3c9509bf4ef273fa2f484f36 EBUILD iasl-20080514.ebuild 3302 RMD160 a5d7da3fd78b77efd8db2a12eaecddb1cdf12fe3 SHA1 dbe62e5ad32bc37738c358eaf33dcbf8d39c0f77 SHA256 3802ef4977eede3bd1793b8f18bc48c86467ce5149c6035b1ee0ca3647af45fa EBUILD iasl-20080701.ebuild 3395 RMD160 ea5d25a7cad0ffcc5aa3401c83110ef37a788dbe SHA1 08b11684f281414cc35766f20ab31b4c285356c3 SHA256 8428a96258c5b53f98b978987337409be1d0e441279ddef037758c0d2260d7e8 EBUILD iasl-20090123.ebuild 3502 RMD160 57382040b5bc0f83fc6827beaa822f4296e1c3d9 SHA1 84388c601c47aa53eb0e014fb55fec4e2eb17f19 SHA256 0fefb735715cb3f266287e6fc4b6b9f9ed4a102ed9764c85f31e37e9bdc5056b -MISC ChangeLog 3926 RMD160 c3648b3378f6185fcaf8b54661a6a30f4f0b7fcb SHA1 c59d002a7a8b451231d9e074e6f7e2505fd09b29 SHA256 403310637360f82d31c1e31a2b89bbd826fc2fb1a4d7aabcbeaedd7fa55eee91 +EBUILD iasl-20090521.ebuild 3515 RMD160 7ad040c679e5fceba433ea2e1db997295629fc15 SHA1 6b4c93427bceeda612c9b001a875533f060da7f3 SHA256 317f6dcd2d2b33598f7a18f926935f79c2776b5c7cd6e23e0d93f2cbaf4b8466 +MISC ChangeLog 4060 RMD160 1ccc27d342fc57d8308921c9813ed19e890114fe SHA1 70561238a978af93900b63667c9fb0632aabc515 SHA256 ef3d484ca8661fdf342d9ecbea358e8ff565064cb42b9d474a5f864f39254d0d MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkmImbsACgkQAiZjviIA2XgkFQCeIcul0yPOsdgnQkoAEg4f2mkW -GW4AoPA9fOQZM0FeVUZgaZPjlMk6NE0t -=lwjc ------END PGP SIGNATURE----- diff --git a/sys-power/iasl/iasl-20090521.ebuild b/sys-power/iasl/iasl-20090521.ebuild new file mode 100644 index 000000000000..689ff0b9aae9 --- /dev/null +++ b/sys-power/iasl/iasl-20090521.ebuild @@ -0,0 +1,126 @@ +# 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-20090521.ebuild,v 1.1 2009/05/26 02:07:59 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 + + 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 hasq test $FEATURES ; then + export ASLTSDIR="$(<"${T}"/asltdir)" + cd "${ASLTSDIR}"/tmp/RESULTS || die "cd ${ASLTSDIR}/tmp/RESULTS failed" + ebegin "Creating Test Tarball" + tar -cjf testresults.tar.bz2 * || die "tar failed" + eend $? + dodir /usr/share/${PF} + insinto /usr/share/${PF} + doins testresults.tar.bz2 || 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" +} |