summaryrefslogtreecommitdiff
path: root/system/chelf
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-04 17:30:26 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-04 17:30:26 -0600
commitbfc21ddbb093bcb73f7b2c6d1e3cc9767e08ea62 (patch)
tree406e38cab6e18f9f68c38777b994c202f4315772 /system/chelf
parenta52113d2368551dc2c530b765f656e724fcd7739 (diff)
downloadpackages-bfc21ddbb093bcb73f7b2c6d1e3cc9767e08ea62.tar.gz
packages-bfc21ddbb093bcb73f7b2c6d1e3cc9767e08ea62.tar.bz2
packages-bfc21ddbb093bcb73f7b2c6d1e3cc9767e08ea62.tar.xz
packages-bfc21ddbb093bcb73f7b2c6d1e3cc9767e08ea62.zip
user/chelf: Move to system/
Used by LLVM bootstrap compilers. May be needed eventually for other system-level dependencies to set stack sizes. Acked-by: Zach van Rijn <me@zv.io>
Diffstat (limited to 'system/chelf')
-rw-r--r--system/chelf/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/system/chelf/APKBUILD b/system/chelf/APKBUILD
new file mode 100644
index 000000000..cf3b34228
--- /dev/null
+++ b/system/chelf/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=chelf
+pkgver=0.2.2
+pkgrel=0
+pkgdesc="Display or change the stack size of an ELF binary"
+url=" "
+arch="all"
+options="!check" # No test suite.
+license="BSD-2-Clause"
+depends=""
+makedepends=""
+subpackages=""
+source="$pkgname-$pkgver.tar.xz::https://distfiles.adelielinux.org/source/$pkgname-$pkgver.txz"
+
+build() {
+ make
+}
+
+package() {
+ install -D -m755 chelf "$pkgdir"/usr/bin/chelf
+}
+
+sha512sums="bf29f0f526ca1977e0d0743901f6afeb23b2dd78b60618ea65201ea95000832854250f44de6e7625b6d546cace4638be094989cdb96b4e842285ef85718c0082 chelf-0.2.2.tar.xz"