aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/f2fs-tools/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-03-03 04:11:20 +0000
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-03-03 04:11:20 +0000
commit58f93fc39d00a844ffc967c6df619d77f005629b (patch)
tree5bebdc213237a5cd2709c3a473106badd361a59c /repos/extra/f2fs-tools/abuild
parent0dabb9797fe0fea51e5e4fb5928a643a1f2af43e (diff)
parentcd9dd179fe9c8179735a36224bf4aa076f1117ba (diff)
downloadalicelinux-58f93fc39d00a844ffc967c6df619d77f005629b.tar.gz
alicelinux-58f93fc39d00a844ffc967c6df619d77f005629b.zip
Merge pull request 'add: f2fs-tools, skalibs, mdevd' (#18) from xplshn/alicelinux:main into main
Reviewed-on: https://codeberg.org/emmett1/alicelinux/pulls/18
Diffstat (limited to 'repos/extra/f2fs-tools/abuild')
-rw-r--r--repos/extra/f2fs-tools/abuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/repos/extra/f2fs-tools/abuild b/repos/extra/f2fs-tools/abuild
new file mode 100644
index 00000000..e58fb1c7
--- /dev/null
+++ b/repos/extra/f2fs-tools/abuild
@@ -0,0 +1,15 @@
+name=f2fs-tools
+version=1.16.0
+release=1
+source="https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/${name}.git/snapshot/${name}-${version}.tar.gz
+ https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/main/f2fs-tools/no-lfs64.patch"
+keep_static=1
+
+build() {
+ LDFLAGS="$LDFLAGS -static -all-static" ./autogen.sh && \
+ ./configure \
+ --prefix="/usr"
+ make
+ make install DESTDIR="$PKG"
+ install -D -m644 mkfs/f2fs_format_utils.h "$PKG/usr/include/f2fs_format_utils.h"
+}