steps/utils-std-0.1.2: add

This commit is contained in:
Haelwenn (lanodan) Monnier 2025-12-18 18:38:57 +01:00
parent 6f9d145455
commit 35c358fe5a
No known key found for this signature in database
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# SPDX-FileCopyrightText: 2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
sed -i s/_Noreturn// libutils/err.h
# getconf: to avoid changing libtool checksums, although likely means better values
# which: to avoid changing checksums of packages like perl-5.36.3_0
sed -i '/^commands="$/,/^"$/{ s,getconf,, ; s,which,, }' configure
}
src_configure() {
chmod +x configure
./configure PREFIX="${PREFIX}" CC=tcc AR=tcc\ -ar
}

View file

@ -0,0 +1 @@
f https://distfiles.hacktivis.me/releases/utils-std/utils-std-0.1.2.tar.gz aecc9cd81b3505322d9bfcc413627e41f777536cd694029794540b739e74f353