aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-11-08 23:14:10 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-11-08 23:14:10 -0500
commit79a4dcec2e34c5d58ab0661146ee9727452d672b (patch)
tree7ba0b1b446c048dfbc8d2050f9a1615dbbc2812f /scripts/patch
parent477ecc69f6a8cc6a00015d21e7cb27baf59ba689 (diff)
downloadspm-79a4dcec2e34c5d58ab0661146ee9727452d672b.tar.gz
Whoosh
Diffstat (limited to 'scripts/patch')
-rw-r--r--scripts/patch/build.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/patch/build.sh b/scripts/patch/build.sh
new file mode 100644
index 0000000..8afc278
--- /dev/null
+++ b/scripts/patch/build.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+name=patch
+version=2.7.6
+revision=0
+sources=(
+ "https://ftp.gnu.org/gnu/${name}/${name}-${version}.tar.gz"
+)
+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="${destdir}"
+}
+
+