coreutils port

This commit is contained in:
Matheus
2023-05-29 09:25:06 -03:00
parent 8412e71b0d
commit 1c93fd89e2
3 changed files with 29 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
name=coreutils
revision=1
from_source=coreutils
imagedeps="base-devel gperf"
hostdeps="xgcc xbinutils"
deps="mlibc"
configure() {
cp -pr ${source_dir}/* .
CFLAGS="-DSLOW_BUT_NO_HACKS $CFLAGS" ./configure --host=x86_64-astral --prefix=${prefix}
}
build() {
make -j ${parallelism}
}
install() {
make install DESTDIR=${dest_dir}
}