aboutsummaryrefslogtreecommitdiff
path: root/scripts/util-linux
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-11-18 10:05:27 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-11-18 10:05:27 -0500
commitaa7e99e130b47caebaacd24e6d9e4f89f42cd213 (patch)
tree5b599c731389e0b259b840710f8db1ffe9913181 /scripts/util-linux
parent79a4dcec2e34c5d58ab0661146ee9727452d672b (diff)
downloadspm-aa7e99e130b47caebaacd24e6d9e4f89f42cd213.tar.gz
Next chunk
Diffstat (limited to 'scripts/util-linux')
-rw-r--r--scripts/util-linux/build.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/util-linux/build.sh b/scripts/util-linux/build.sh
new file mode 100644
index 0000000..8a9b65c
--- /dev/null
+++ b/scripts/util-linux/build.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+name=util-linux
+version=2.34
+revision=0
+sources=(
+ "https://mirrors.edge.kernel.org/pub/linux/utils/${name}/v${version}/${name}-${version}.tar.gz"
+)
+depends=(
+ "autoconf"
+ "automake"
+ "libtool"
+)
+
+
+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}"
+}
+
+