summaryrefslogtreecommitdiff
path: root/repo/ntfs-3g/ntfs-3g.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/ntfs-3g/ntfs-3g.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
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
+}