aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/f2fs-tools/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
commita64930636462bf24118ca7266f699ce2b696e821 (patch)
tree58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/extra/f2fs-tools/abuild
parentddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff)
downloadalicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz
alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip
clang branch updated
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"
+}