From aa7e99e130b47caebaacd24e6d9e4f89f42cd213 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 18 Nov 2019 10:05:27 -0500 Subject: Next chunk --- scripts/util-linux/build.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 scripts/util-linux/build.sh (limited to 'scripts/util-linux/build.sh') 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}" +} + + -- cgit