Skip to content

Commit

Permalink
sys-power/iasl: Bump v.202040927
Browse files Browse the repository at this point in the history
  • Loading branch information
geaaru committed Oct 19, 2024
1 parent 0933b1a commit bb2c3bb
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/atoms-extra/tools/sys-power/iasl/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST acpica-unix-20240927.tar.gz 1952744 SHA512 655db9c1f0f65135e107e42ba9d24576be11cd031572fc6d099bc27f9e41c34c5544e7e9bded6024603000dabc168dcc285b827a2b71560ccef1626fbeb82b90
4 changes: 4 additions & 0 deletions packages/atoms-extra/tools/sys-power/iasl/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
prelude:
# Temporary patch
- >-
rm /var/git/meta-repo/kits/core-hw-kit/sys-power/iasl/* -rf &&
cp Manifest *.ebuild /var/git/meta-repo/kits/core-hw-kit/sys-power/iasl/
- |-
export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \
export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \
Expand Down
4 changes: 2 additions & 2 deletions packages/atoms-extra/tools/sys-power/iasl/definition.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: iasl
version: 20200717+1
version: "202040927"
category: sys-power
annotations:
subsets:
Expand All @@ -19,4 +19,4 @@ labels:
kit: core-hw-kit
original.package.name: sys-power/iasl
original.package.slot: "0"
original.package.version: "20200717"
original.package.version: "20240927"
58 changes: 58 additions & 0 deletions packages/atoms-extra/tools/sys-power/iasl/iasl-20240927.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit edos2unix toolchain-funcs

MY_PN=acpica-unix
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Intel ACPI Source Language (ASL) compiler"
HOMEPAGE="https://www.acpica.org/downloads/"
SRC_URI="https://github.com/user-attachments/files/17171019/${MY_P}.tar.gz"
LICENSE="iASL"
SLOT="0"
KEYWORDS="*"

BDEPEND="
sys-devel/bison
sys-devel/flex"

S="${WORKDIR}/${MY_P}"

src_prepare() {
default

find "${S}" -type f -name 'Makefile*' -print0 | \
xargs -0 -I '{}' \
sed -r -e 's:-\<Werror\>::g' -e "s:/usr:${EPREFIX}/usr:g" \
-i '{}' \
|| die
}

src_configure() {
tc-export CC

# BITS is tied to ARCH - please set appropriately if you add new keywords
if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then
export BITS=64
else
export BITS=32
fi
}

src_compile() {
emake -C generate/unix BITS="${BITS}"
}

src_install() {
cd generate/unix || die
emake install DESTDIR="${D}" BITS=${BITS}
default

dodoc "${S}"/changes.txt
newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt
newdoc "${S}"/generate/unix/readme.txt unix-readme.txt
newdoc "${S}"/generate/lint/readme.txt lint-readme.txt
newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt
}

0 comments on commit bb2c3bb

Please sign in to comment.