summaryrefslogtreecommitdiff
path: root/templates/e2fsprogs/template
diff options
context:
space:
mode:
author0x221E2026-06-14 14:06:45 +0200
committer0x221E2026-06-14 14:06:45 +0200
commitcacee711ffebd105827ce8b35e4c13a4e674538a (patch)
tree94bd8c29c08a8acb2b8e9e17531e79d02781bafb /templates/e2fsprogs/template
initial commit
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
+}