|
root / devel / make
make Plain Text 47 lines 970 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/zsh
# Build script for GNU make

set -e
cd "$SRCDIR"

./configure \
    --prefix=$PREFIX \
    --build=$BUILD_TRIPLE \
    --disable-nls

# Use system make to bootstrap
make -j${JOBS:-1}
make install DESTDIR="$PKGDIR"

# Install as gmake with make symlink
cd "$PKGDIR$PREFIX/bin"
if [[ -f make && ! -f gmake ]]; then
    mv make gmake
    ln -sf gmake make
fi
# GNU Make - Build automation tool
# https://www.gnu.org/software/make/

[package]
name = "make"
version = "4.4.1"
release = 1
description = "GNU make build automation tool"
url = "https://www.gnu.org/software/make/"
license = "GPL-3.0"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "make-4.4.1.tar.gz"
urls = ["https://ftpmirror.gnu.org/gnu/make/make-4.4.1.tar.gz", "https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz"]
checksum = "dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3"


[build]
parallel = true