43 lines
1020 B
Plaintext
43 lines
1020 B
Plaintext
# Description: Freely available NTFS driver with read and write support.
|
|
# URL: https://www.tuxera.com/company/open-source/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: fuse gnutls libgcrypt
|
|
|
|
name=ntfs-3g
|
|
version=2022.10.3
|
|
release=1
|
|
source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz)
|
|
|
|
build() {
|
|
cd ntfs-3g_ntfsprogs-$version
|
|
|
|
sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in
|
|
install -d $PKG/lib
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--exec-prefix=/usr \
|
|
--enable-crypto \
|
|
--enable-extras \
|
|
--enable-ldscript \
|
|
--enable-posix-acls \
|
|
--enable-xattr-mappings \
|
|
--with-fuse=external \
|
|
--disable-ldconfig \
|
|
--disable-static \
|
|
--without-uuid \
|
|
--without-hd
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir $PKG/sbin
|
|
ln -s ../usr/bin/ntfs-3g $PKG/sbin/mount.ntfs
|
|
ln -s ../usr/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
|
|
}
|