contrib/ntfs-3g/Pkgfile

53 lines
1.4 KiB
Plaintext
Raw Normal View History

2007-01-17 11:46:19 +01:00
# Description: Freely available NTFS driver with read and write support.
2021-02-01 12:18:35 +01:00
# URL: https://www.tuxera.com/company/open-source/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: fuse
2007-01-17 11:46:19 +01:00
name=ntfs-3g
version=2017.3.23
2020-06-06 11:43:54 +02:00
release=3
source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz
ntfs3g-2014.2.15-no-split-usr.patch
ntfs3g-2016.2.22-sysmacros.patch
ntfs3g-2017.3.23-check-mftmirr.patch
ntfs3g-2017.3.23-big-sectors.patch
ntfs3g-2017.3.23-full-clusters.patch
CVE-2019-9755.patch)
2007-01-17 11:46:19 +01:00
build() {
cd ntfs-3g_ntfsprogs-$version
patch -p1 -i $SRC/ntfs3g-2014.2.15-no-split-usr.patch
patch -p1 -i $SRC/ntfs3g-2016.2.22-sysmacros.patch
patch -p1 -i $SRC/ntfs3g-2017.3.23-check-mftmirr.patch
patch -p1 -i $SRC/ntfs3g-2017.3.23-big-sectors.patch
patch -p1 -i $SRC/ntfs3g-2017.3.23-full-clusters.patch
patch -p1 -i $SRC/CVE-2019-9755.patch
2015-05-23 03:26:43 +02:00
install -d $PKG/lib
./configure \
--prefix=/usr \
--exec-prefix=/usr \
--enable-ldscript \
--disable-ldconfig \
2016-10-07 02:06:21 +02:00
--with-fuse=external \
--enable-posix-acls \
--enable-xattr-mappings \
--without-uuid \
--without-hd \
2016-10-07 02:06:21 +02:00
--enable-extras
#--enable-crypto
2007-01-17 11:46:19 +01:00
make
make DESTDIR=$PKG install
2008-04-13 01:07:22 +02:00
2020-06-06 11:43:54 +02:00
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
2020-06-06 11:43:54 +02:00
ln -s ntfsfix.8 $PKG/usr/share/man/man8/fsck.ntfs.8
rm -r $PKG/usr/share/doc
2007-01-17 11:46:19 +01:00
}