ports: make port

This commit is contained in:
Matheus
2022-11-20 20:10:34 -03:00
parent aa779745f3
commit 60569cf68b
3 changed files with 46 additions and 0 deletions
+13
View File
@@ -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* \
+25
View File
@@ -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}"
}
+8
View File
@@ -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
}