summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/build.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/make/build.sh b/make/build.sh
new file mode 100644
index 0000000..ed98685
--- /dev/null
+++ b/make/build.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+name=make
+version=4.3
+revision=0
+sources=(
+ "https://ftp.gnu.org/gnu/${name}/${name}-${version}.tar.gz"
+)
+build_depends=()
+depends=()
+
+function prepare() {
+ tar xf ${name}-${version}.tar.gz
+ cd ${name}-${version}
+}
+
+function build() {
+ ./configure --prefix=${_prefix}
+ make -j${_maxjobs}
+}
+
+function package() {
+ make install DESTDIR="${_pkgdir}"
+}