# Description: Freely available NTFS driver with read and write support. # URL: https://www.tuxera.com/community/ntfs-3g-download/ # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: fuse name=ntfs-3g version=2016.2.22 release=4 source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz CVE-2017-0358.patch) build() { cd ntfs-3g_ntfsprogs-$version patch -p1 -i $SRC/CVE-2017-0358.patch install -d $PKG/lib ./configure \ --prefix=/usr \ --disable-ldconfig \ --with-fuse=external \ --enable-posix-acls \ --enable-extras make make DESTDIR=$PKG install ln -s ../bin/ntfs-3g $PKG/sbin/mount.ntfs ln -s ../bin/ntfsfix $PKG/sbin/fsck.ntfs ln -s ntfs-3g.8 $PKG/usr/share/man/man8/mount.ntfs.8 ln -s ntfsfix.8 $PKG//usr/share/man/man8/fsck.ntfs.8 rm -r $PKG/usr/share/doc }