contrib/ntfs-3g/Pkgfile

43 lines
1020 B
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 gnutls libgcrypt
2007-01-17 11:46:19 +01:00
name=ntfs-3g
2022-06-01 07:34:40 +02:00
version=2022.5.17
release=1
source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz)
2007-01-17 11:46:19 +01:00
build() {
cd ntfs-3g_ntfsprogs-$version
sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in
2015-05-23 03:26:43 +02:00
install -d $PKG/lib
./configure \
--prefix=/usr \
--exec-prefix=/usr \
--enable-crypto \
--enable-extras \
--enable-ldscript \
2016-10-07 02:06:21 +02:00
--enable-posix-acls \
--enable-xattr-mappings \
--with-fuse=external \
--disable-ldconfig \
--disable-static \
--without-uuid \
--without-hd
2007-01-17 11:46:19 +01:00
make
make DESTDIR=$PKG install
2008-04-13 01:07:22 +02:00
2022-06-01 07:34:40 +02:00
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
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
}