diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-01-24 21:18:24 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-01-24 21:18:24 +0000 |
commit | 965c18b20c1699dbbed1ceb29aed7db09d9330e4 (patch) | |
tree | b0ed3907492985b27734bb4031d3bc92488be933 /sys-power | |
parent | Remove ancient ebuild. (diff) | |
download | historical-965c18b20c1699dbbed1ceb29aed7db09d9330e4.tar.gz historical-965c18b20c1699dbbed1ceb29aed7db09d9330e4.tar.bz2 historical-965c18b20c1699dbbed1ceb29aed7db09d9330e4.zip |
Version bump to resolve bug #246196 - bison 2.4 related compile failures.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28-05718-g0556e82 x86_64
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/iasl/ChangeLog | 9 | ||||
-rw-r--r-- | sys-power/iasl/Manifest | 5 | ||||
-rw-r--r-- | sys-power/iasl/iasl-20090123.ebuild | 123 |
3 files changed, 134 insertions, 3 deletions
diff --git a/sys-power/iasl/ChangeLog b/sys-power/iasl/ChangeLog index 7fa0d8d7b795..4072210b9419 100644 --- a/sys-power/iasl/ChangeLog +++ b/sys-power/iasl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-power/iasl -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.21 2008/09/09 06:01:36 robbat2 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.22 2009/01/24 21:18:24 robbat2 Exp $ + +*iasl-20090123 (24 Jan 2009) + + 24 Jan 2009; Robin H. Johnson <robbat2@gentoo.org> +iasl-20090123.ebuild: + Version bump to resolve bug #246196 - bison 2.4 related compile failures. 09 Sep 2008; Robin H. Johnson <robbat2@gentoo.org> +files/iasl-20080701-parallelmake.patch, iasl-20080701.ebuild: diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest index 87dde48dacab..3a81a9e1361f 100644 --- a/sys-power/iasl/Manifest +++ b/sys-power/iasl/Manifest @@ -4,10 +4,13 @@ AUX iasl-20080701-parallelmake.patch 1598 RMD160 9ab6a9799c501cacbd62676057eb060 DIST acpica-unix-20060912.tar.gz 859242 RMD160 e8c10dd73912243e2b0e5b13b45342a963772c89 SHA1 77a1bbfaa0ad257e04a2aaa31b54a8ce1da5f2fa SHA256 f9a8bf089a639681f42e2a533b7004d2fdd9a4e3e3b6bbba9bd232c6a5acf773 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 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 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 -MISC ChangeLog 3613 RMD160 c6fa8f459baff48443ce4a5500f0a80373b73665 SHA1 a74cafaee86723eda40e5e70fc11d05da1ce0792 SHA256 219f1d9cba9a65b119b709e15c83f1b4d2722ba783d425dabca39adb5419d4f7 +EBUILD iasl-20090123.ebuild 3395 RMD160 3ffc917a2c584873097ce636d52d4b7fd49a1617 SHA1 92a1e86940aca04730f84eef4f14187938609281 SHA256 9b2e0edf86586ebd8055f6e97a14c17065feb0c769cf16be94a6822d0751eb13 +MISC ChangeLog 3796 RMD160 116b0be3b93e0a2720fc9fc5d4f4693efaf8f476 SHA1 faeca6ae44038c21f91b9ca79bf7ef7d229d67fa SHA256 b18fce163627d4b595ffa7ec5bc8925f11ded02a40fe9dfabb4f7362a92d619b MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 diff --git a/sys-power/iasl/iasl-20090123.ebuild b/sys-power/iasl/iasl-20090123.ebuild new file mode 100644 index 000000000000..aee9731a5f00 --- /dev/null +++ b/sys-power/iasl/iasl-20090123.ebuild @@ -0,0 +1,123 @@ +# 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-20090123.ebuild,v 1.1 2009/01/24 21:18:24 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 +} + +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/ | sed -r -e '/\/[A-Z_]+$/d') || 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" +} |