diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-05-22 21:13:42 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-05-22 21:13:42 +0000 |
commit | 67dcb473a49e37e8665a242bbfa101e665025515 (patch) | |
tree | 3f3f0369c24fdce6da9fb9d35436b7c14a2071d6 /sys-power/iasl | |
parent | amd64/x86 stable, bug #223243 (diff) | |
download | historical-67dcb473a49e37e8665a242bbfa101e665025515.tar.gz historical-67dcb473a49e37e8665a242bbfa101e665025515.tar.bz2 historical-67dcb473a49e37e8665a242bbfa101e665025515.zip |
Bug #188006, version bump finally. Many thanks to Peter Alfredsen <peter.alfredsen@gmail.com> for the ebuild handling the new upstream build process.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-power/iasl')
-rw-r--r-- | sys-power/iasl/ChangeLog | 11 | ||||
-rw-r--r-- | sys-power/iasl/Manifest | 5 | ||||
-rw-r--r-- | sys-power/iasl/iasl-20080514.ebuild | 116 |
3 files changed, 129 insertions, 3 deletions
diff --git a/sys-power/iasl/ChangeLog b/sys-power/iasl/ChangeLog index a085517554b3..9d8e1fe07ef1 100644 --- a/sys-power/iasl/ChangeLog +++ b/sys-power/iasl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-power/iasl -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.14 2007/05/21 10:10:56 uberlord Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.15 2008/05/22 21:13:42 robbat2 Exp $ + +*iasl-20080514 (22 May 2008) + + 22 May 2008; Robin H. Johnson <robbat2@gentoo.org> +iasl-20080514.ebuild: + Bug #188006, version bump finally. Many thanks to Peter Alfredsen + <peter.alfredsen@gmail.com> for the ebuild handling the new upstream build + process. 21 May 2007; Roy Marples <uberlord@gentoo.org> iasl-20060912.ebuild: Added ~x86-fbsd keyword. diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest index 420fb7a9e9eb..92eded971db1 100644 --- a/sys-power/iasl/Manifest +++ b/sys-power/iasl/Manifest @@ -6,11 +6,14 @@ DIST acpica-unix-20051216.tar.gz 818242 RMD160 74acc17ff3f5d762df16e23e4a25df45e DIST acpica-unix-20060127.tar.gz 796319 RMD160 c083de89c78fddb9c42228c15dbc7f36d6055c94 SHA1 6235085f5707862a64f6d81824f7a1d0949e4717 SHA256 2a583ea24b04e44fba70cadff18d4c0d46a1d11ab5cb257e897c358b930d6129 DIST acpica-unix-20060512.tar.gz 839039 RMD160 2ea95f7f46038c41cdf5cb56149c6a3207c45532 SHA1 eee21b225923c8e5c93b31073572b0f1dc2eb40e SHA256 29d35ce1f22c93983b91c07cc6c39ad522e77a9153cbb321fd32a9838e21eb3b 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 acpitests-unix-20080514.tar.gz 1898223 RMD160 16075cb2f69ab0ef0b8388b79186c8c000a1722f SHA1 1a2f41fe75cc32d32661fcaa6f1c6e4aca3455eb SHA256 6e43826295874c6dbd17cd7e4fbacfcd6a2d1581626591c797ee5d94d59faa86 EBUILD iasl-20050309.ebuild 700 RMD160 3f9be6c8ddacb46b818a62b33ebce938c2e10853 SHA1 8fb63b405d1cc0c82a4ebde6ebd79e82333abb9d SHA256 5579f0758d7fb4d2826febf1530141a764740e8e82625c3cfa8bef290b655793 EBUILD iasl-20050513.ebuild 736 RMD160 3fb1b778c76e80f8db63b8191bb8278af852809d SHA1 b4f686a596a2d7a042ebb7d4553a7de39228b751 SHA256 88f77b0b72202710dfee64b7419e27fff2d03ac50b548f31847fc4319c8dd1f6 EBUILD iasl-20051216.ebuild 922 RMD160 f24055cbd5bc94add86794a8d02e8d4b8caa6104 SHA1 551db306b8c0c0ee76b7b872aa9cd77a1ce87295 SHA256 bd2dffb9c79c42e14d85ab6d98e8d50ad1f5ed7071e647f2db83b54d3a3ffebf EBUILD iasl-20060127.ebuild 1145 RMD160 01ae5cf43c949a0382adafc2a329f8fc13759b58 SHA1 25a6fe52261a7debd6ab8579a203bce3499bd067 SHA256 ee15a5b296ec893fad099ca1124ac4afc56936529e4c1c0b782899e8eace064b EBUILD iasl-20060512.ebuild 1153 RMD160 0c7e96ae3212bb43f74ef124af508512f19adcda SHA1 52f9b8e5cfb464152615fa002549e6b7ff052abc SHA256 2497425de172f8030ff59328a2bceb5028cdffe004a165495e8098a0abb0a893 EBUILD iasl-20060912.ebuild 1161 RMD160 645d7fa5f3fc0cc4121670f4fd242f56e2e63bf3 SHA1 aebe003d15d93c8ec116ee3f08f39793d6146e5f SHA256 5ccb6217b26429d94fb40d84545bf50b3c35bc48e964a467df73f8865bb695b2 -MISC ChangeLog 2208 RMD160 66d9eb7f3d1f2779d2c5c9a11d2d6a920c39b909 SHA1 25c353543994784cbb8a4d79ae0953650eba3b61 SHA256 231c50383161a85fbff52e945b820069b64f9e1bc853d630206b413c5aab8b8c +EBUILD iasl-20080514.ebuild 3215 RMD160 ac488155d8497716551ae77897dabc9a9b8abb65 SHA1 f7303d8b9efc2072f202e1cc35d27f019c356575 SHA256 4696bbc802a97d8c81c84ca10a167f183666ff75e976925916d0f16b289df447 +MISC ChangeLog 2470 RMD160 7d9c6ea64a972c25c0acb53d5e12993ed725ddeb SHA1 f1ba7d11eb0db5b3f94985ae599bb8c60680e4ba SHA256 b3630af8e5b0fdd45d013e0e6ab442c0d960ad55dcf5d7dc7f6f08d39fd64f34 MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 diff --git a/sys-power/iasl/iasl-20080514.ebuild b/sys-power/iasl/iasl-20080514.ebuild new file mode 100644 index 000000000000..de39366aee0b --- /dev/null +++ b/sys-power/iasl/iasl-20080514.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20080514.ebuild,v 1.1 2008/05/22 21:13:42 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_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 -j1 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 + 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" + 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 "cd ${S}/tools/aapits failed" + 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" +} |