dev-libs/hardened_malloc: new package, add 13

Signed-off-by: Torben Kahnert <torben@tmak2002.dev>
This commit is contained in:
Torben Kahnert
2025-08-09 17:16:17 +02:00
parent 8babfeb76a
commit 3ac488ff2e
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
HOMEPAGE="https://github.com/GrapheneOS/hardened_malloc"
SRC_URI="https://github.com/GrapheneOS/hardened_malloc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
src_test() {
emake test
}
src_compile() {
emake VARIANT=light
emake VARIANT=default
}
src_install() {
dolib.so out-light/libhardened_malloc-light.so
dolib.so out/libhardened_malloc.so
}