-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST acpica-unix-20240927.tar.gz 1952744 SHA512 655db9c1f0f65135e107e42ba9d24576be11cd031572fc6d099bc27f9e41c34c5544e7e9bded6024603000dabc168dcc285b827a2b71560ccef1626fbeb82b90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
packages/atoms-extra/tools/sys-power/iasl/iasl-20240927.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |