mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: make port
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git make-clean/build-aux/config.sub make-workdir/build-aux/config.sub
|
||||||
|
index dba16e8..bbd0740 100755
|
||||||
|
--- make-clean/build-aux/config.sub
|
||||||
|
+++ make-workdir/build-aux/config.sub
|
||||||
|
@@ -1723,7 +1723,7 @@ case $os in
|
||||||
|
# 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,25 @@
|
|||||||
|
name=make
|
||||||
|
revision=1
|
||||||
|
from_source=make
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="gcc-cross binutils-cross"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
|
||||||
|
make -j${parallelism}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
|
||||||
|
make install DESTDIR="${dest_dir}"
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
name=make
|
||||||
|
version=4.4
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://ftp.gnu.org/gnu/make/make-${version}.tar.gz"
|
||||||
|
tarball_sha512=4be73f494295dcfa10034531b0d920cfdb5438bc20625f863f5c878549c140e1e67195162580c53060c3c11c67a2c739c09051f02cdd283e5aa9ebcd68975a1f
|
||||||
|
regenerate() {
|
||||||
|
true
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user