summaryrefslogtreecommitdiff
path: root/libuuid
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:56:22 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:56:22 -0500
commit13984f725db156cbc952d0afe90f27da15a0b85d (patch)
treeb3a39b75ecaecca11ee1525a99153a7606e460cb /libuuid
downloadspm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz
Initial commit
Diffstat (limited to 'libuuid')
-rw-r--r--libuuid/build.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/libuuid/build.sh b/libuuid/build.sh
new file mode 100644
index 0000000..0cf7e78
--- /dev/null
+++ b/libuuid/build.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+name=libuuid
+version=2.34
+revision=0
+sources=(
+ "https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.34/util-linux-2.34.tar.xz"
+ "https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${version}/util-linux-${version}.tar.xz"
+)
+build_depends=(
+ "automake"
+ "autoconf"
+ "xz"
+)
+depends=()
+
+
+function prepare() {
+ tar xf util-linux-${version}.tar.xz
+ cd util-linux-${version}
+}
+
+function build() {
+ ./configure --prefix=${_prefix} \
+ --disable-all-programs \
+ --enable-libuuid \
+ --without-systemd \
+ --without-btrf
+ make -j${_maxjobs}
+}
+
+function package() {
+ make install DESTDIR="${_pkgdir}"
+ rm -r "${_pkgdir}/${_prefix}/sbin"
+}