summaryrefslogtreecommitdiff
path: root/repo/ntfs-3g/ntfs-3g.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/ntfs-3g/ntfs-3g.xibuild')
-rw-r--r--repo/ntfs-3g/ntfs-3g.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/ntfs-3g/ntfs-3g.xibuild b/repo/ntfs-3g/ntfs-3g.xibuild
new file mode 100644
index 0000000..f9ab694
--- /dev/null
+++ b/repo/ntfs-3g/ntfs-3g.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="ntfs-3g"
+DESC="Stable, full-featured, read-write NTFS"
+
+MAKEDEPS=" attr util-linux linux-headers"
+
+PKG_VER=2022.5.17
+SOURCE="https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$PKG_VER.tgz"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --exec-prefix=/usr \
+ --disable-static \
+ --with-fuse=external\
+ --enable-posix-acls \
+ --enable-xattr-mappings \
+ --sbin=/usr/bin
+ make
+}
+
+package() {
+ mkdir -p "$PKG_DEST"/lib
+ make -j1 DESTDIR="$PKG_DEST" LDCONFIG=: install
+ ln -s /bin/ntfs-3g "$PKG_DEST"/sbin/mount.ntfs
+}