mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
jinx: add coreutils port
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff -ruN coreutils/build-aux/config.sub coreutils-patched/build-aux/config.sub
|
||||
--- coreutils/build-aux/config.sub 2022-09-19 20:36:40.342028200 -0300
|
||||
+++ coreutils-patched/build-aux/config.sub 2022-09-19 20:37:21.462028200 -0300
|
||||
@@ -1723,7 +1723,7 @@
|
||||
# Now accept the basic system types.
|
||||
# The portable systems comes first.
|
||||
# Each alternative MUST end in a * to match a version number.
|
||||
- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
+ gnu* | android* | astral* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
|
||||
@@ -0,0 +1,24 @@
|
||||
name=coreutils
|
||||
revision=1
|
||||
from_source=coreutils
|
||||
imagedeps="base-devel"
|
||||
hostdeps="gcc-cross binutils-cross"
|
||||
deps="mlibc"
|
||||
|
||||
configure() {
|
||||
|
||||
CFLAGS="-DSLOW_BUT_NO_HACKS $CFLAGS" ${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j ${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR=${dest_dir}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
name=coreutils
|
||||
version=9.1
|
||||
source_method=tarball
|
||||
tarball_url="https://ftp.gnu.org/gnu/coreutils/coreutils-${version}.tar.xz"
|
||||
tarball_sha512=a6ee2c549140b189e8c1b35e119d4289ec27244ec0ed9da0ac55202f365a7e33778b1dc7c4e64d1669599ff81a8297fe4f5adbcc8a3a2f75c919a43cd4b9bdfa
|
||||
regenerate() {
|
||||
true
|
||||
}
|
||||
Reference in New Issue
Block a user