blob: f9ab694a8dbb3ffa00fb76876f9aa722cfa91453 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}
|