summaryrefslogtreecommitdiff
path: root/ntfs-3g/Pkgfile
blob: 0258f715220c9fde397619f96927d5036ce5a9bb (plain)
    1 # Description: Freely available NTFS driver with read and write support.
    2 # URL: https://www.tuxera.com/company/open-source/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: fuse gnutls libgcrypt
    5 
    6 name=ntfs-3g
    7 version=2022.10.3
    8 release=1
    9 source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz)
   10 
   11 build() {
   12 	cd ntfs-3g_ntfsprogs-$version
   13 
   14 	sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in
   15 	install -d $PKG/lib
   16 
   17 	./configure \
   18 		--prefix=/usr \
   19 		--exec-prefix=/usr \
   20 		--enable-crypto \
   21 		--enable-extras \
   22 		--enable-ldscript \
   23 		--enable-posix-acls \
   24 		--enable-xattr-mappings \
   25 		--with-fuse=external \
   26 		--disable-ldconfig \
   27 		--disable-static \
   28 		--without-uuid \
   29 		--without-hd
   30 
   31 	make
   32 	make DESTDIR=$PKG install
   33 
   34 	mkdir $PKG/sbin
   35 	ln -s ../usr/bin/ntfs-3g $PKG/sbin/mount.ntfs
   36 	ln -s ../usr/bin/ntfsfix $PKG/sbin/fsck.ntfs
   37 
   38 	ln -s ntfs-3g.8 $PKG/usr/share/man/man8/mount.ntfs.8
   39 	ln -s ntfsfix.8 $PKG/usr/share/man/man8/fsck.ntfs.8
   40 
   41 	rm -r $PKG/usr/share/doc
   42 }

Generated by cgit