diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-11-18 21:41:52 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-11-18 21:41:52 -0500 |
commit | 5dfcc0a1eb5ab7485d4297fcefecb90f9d7ce6de (patch) | |
tree | 29c3934467d67f7067a22925b654f11c2cb4e081 | |
parent | 6228fd96a4e7a1234085c7106acb46c991fddcfc (diff) | |
download | spm-5dfcc0a1eb5ab7485d4297fcefecb90f9d7ce6de.tar.gz |
-rw-r--r-- | scripts/e2fsprogs/build.sh | 39 | ||||
-rw-r--r-- | scripts/python/build.sh | 2 |
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" |