aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-11-18 21:41:52 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-11-18 21:41:52 -0500
commit5dfcc0a1eb5ab7485d4297fcefecb90f9d7ce6de (patch)
tree29c3934467d67f7067a22925b654f11c2cb4e081
parent6228fd96a4e7a1234085c7106acb46c991fddcfc (diff)
downloadspm-master.tar.gz
Add e2fsprogs (libuuid and libblkid)HEADmaster
-rw-r--r--scripts/e2fsprogs/build.sh39
-rw-r--r--scripts/python/build.sh2
2 files changed, 41 insertions, 0 deletions
diff --git a/scripts/e2fsprogs/build.sh b/scripts/e2fsprogs/build.sh
new file mode 100644
index 0000000..e520f4d
--- /dev/null
+++ b/scripts/e2fsprogs/build.sh
@@ -0,0 +1,39 @@
+#!/bin/bash
+name=e2fsprogs
+version=1.45.4
+revision=0
+sources=(
+ "https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/${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 \
+ --enable-relative-symlinks \
+ --enable-elf-shlibs \
+ --enable-libuuid \
+ --enable-libblkid
+ make -j${maxjobs}
+}
+
+function package() {
+ pushd lib/uuid &>/dev/null
+ make install DESTDIR="${destdir}"
+ popd
+ pushd lib/blkid &>/dev/null
+ make install DESTDIR="${destdir}"
+ popd
+}
+
+
diff --git a/scripts/python/build.sh b/scripts/python/build.sh
index e286696..c5b36ea 100644
--- a/scripts/python/build.sh
+++ b/scripts/python/build.sh
@@ -15,7 +15,9 @@ build_depends=(
)
depends=(
"bzip2-1.0"
+ "e2fsprogs"
"gdbm"
+ "gzip"
"libexpat"
"libffi-3.2"
"ncurses-6"