summaryrefslogtreecommitdiff
path: root/templates/e2fsprogs/template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/e2fsprogs/template')
-rw-r--r--templates/e2fsprogs/template33
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/e2fsprogs/template b/templates/e2fsprogs/template
new file mode 100644
index 0000000..3d264fe
--- /dev/null
+++ b/templates/e2fsprogs/template
@@ -0,0 +1,33 @@
+pkgname=e2fsprogs
+version=1.47.4
+build_no=1
+upstream="https://github.com/tytso/e2fsprogs/archive/refs/tags/v${version}.tar.gz"
+
+makedepends=(autoconf)
+
+function do_configure {
+ mkdir build/
+ cd build/
+
+ conf_flags=(
+ --prefix=/usr
+ --host=${DISTRO_TC}
+ --disable-debugfs
+ --disable-backtrace
+ --disable-uuid
+ --disable-rpath
+ --disable-nls
+ )
+
+ ../configure "${conf_flags[@]}"
+}
+
+function do_build {
+ cd build/
+ make -j$(nproc)
+}
+
+function do_install {
+ cd build/
+ make DESTDIR=${DESTDIR} install
+}