2007-01-17 21:46:19 +11:00
|
|
|
# Description: Freely available NTFS driver with read and write support.
|
2021-02-01 22:18:35 +11:00
|
|
|
# URL: https://www.tuxera.com/company/open-source/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2021-12-11 15:34:12 +01:00
|
|
|
# Depends on: fuse gnutls libgcrypt
|
2007-01-17 21:46:19 +11:00
|
|
|
|
2013-04-13 11:11:58 +10:00
|
|
|
name=ntfs-3g
|
2021-12-11 15:34:12 +01:00
|
|
|
version=2021.8.22
|
|
|
|
release=1
|
|
|
|
source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz)
|
2007-01-17 21:46:19 +11:00
|
|
|
|
|
|
|
build() {
|
2013-04-13 11:11:58 +10:00
|
|
|
cd ntfs-3g_ntfsprogs-$version
|
2007-04-18 16:16:54 +10:00
|
|
|
|
2021-12-11 15:34:12 +01:00
|
|
|
sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in
|
2015-05-23 11:26:43 +10:00
|
|
|
install -d $PKG/lib
|
|
|
|
|
2007-04-18 16:16:54 +10:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2020-04-22 21:37:32 +10:00
|
|
|
--exec-prefix=/usr \
|
2021-12-11 15:34:12 +01:00
|
|
|
--enable-crypto \
|
|
|
|
--enable-extras \
|
2020-04-22 21:37:32 +10:00
|
|
|
--enable-ldscript \
|
2016-10-07 11:06:21 +11:00
|
|
|
--enable-posix-acls \
|
2020-04-22 21:37:32 +10:00
|
|
|
--enable-xattr-mappings \
|
2021-12-11 15:34:12 +01:00
|
|
|
--with-fuse=external \
|
|
|
|
--disable-ldconfig \
|
|
|
|
--disable-static \
|
2020-04-22 21:37:32 +10:00
|
|
|
--without-uuid \
|
2021-12-11 15:34:12 +01:00
|
|
|
--without-hd
|
2007-04-18 16:16:54 +10:00
|
|
|
|
2007-01-17 21:46:19 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-04-13 09:07:22 +10:00
|
|
|
|
2021-12-11 15:34:12 +01:00
|
|
|
ln -s ../usr/bin/ntfs-3g $PKG/usr/bin/mount.ntfs
|
|
|
|
ln -s ../usr/bin/ntfsfix $PKG/usr/bin/fsck.ntfs
|
2016-10-20 18:43:07 +11:00
|
|
|
|
|
|
|
ln -s ntfs-3g.8 $PKG/usr/share/man/man8/mount.ntfs.8
|
2020-06-06 19:43:54 +10:00
|
|
|
ln -s ntfsfix.8 $PKG/usr/share/man/man8/fsck.ntfs.8
|
2016-10-20 18:43:07 +11:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share/doc
|
2007-01-17 21:46:19 +11:00
|
|
|
}
|