ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

ntfs3g.mk (1220B)


      1 TARG = ntfs3g
      2 INSTALL_BIN = \
      3 	src/lowntfs-3g \
      4 	src/ntfs-3g \
      5 	src/ntfs-3g.probe \
      6 	src/ntfs-3g.secaudit \
      7 	src/ntfs-3g.usermap \
      8 	ntfsprogs/mkntfs \
      9 	ntfsprogs/ntfscat \
     10 	ntfsprogs/ntfsclone \
     11 	ntfsprogs/ntfscluster \
     12 	ntfsprogs/ntfscmp \
     13 	ntfsprogs/ntfscp \
     14 	ntfsprogs/ntfsfix \
     15 	ntfsprogs/ntfsinfo \
     16 	ntfsprogs/ntfslabel \
     17 	ntfsprogs/ntfsls \
     18 	ntfsprogs/ntfsresize \
     19 	ntfsprogs/ntfsundelete
     20 
     21 INSTALL_SYMLINK = \
     22 	mkntfs /bin/mkfs.ntfs \
     23 	lowntfs-3g /bin/mount.lowntfs-3g \
     24 	ntfs-3g /bin/mount.ntfs-3g
     25 
     26 <$mkbuild/mk.common
     27 
     28 # man pages are suffixed with .in, so copy those manually.
     29 installman8:QV:
     30 	i=8
     31 	$INSTALL -d -m 755 ${ROOT}${PREFIX}$MANDIR/man$i
     32 	for f in ` ls -1 src/*.8.in; ls -1 ntfsprogs/*.$i.in`; do
     33 		fn=`basename $f | sed 's@.in$@@g'`
     34 		echo INSTALL ${ROOT}${PREFIX}$MANDIR/man$i/$fn
     35 		$INSTALL -m 644 $f ${ROOT}${PREFIX}$MANDIR/man$i/$fn
     36 	done
     37 
     38 install_man: installman8
     39 
     40 ntfs3g:QV:
     41 	./configure \
     42 		--prefix="$PREFIX" \
     43 		--mandir="$ROOT/share/man" \
     44 		--disable-shared \
     45 		--enable-really-static \
     46 		--enable-mount-helper \
     47 		--enable-static
     48 	make -j$nprocs install \
     49 		LDFLAGS="-all-static $LDFLAGS" DESTDIR="`pwd`/liba"
     50 	# remove .la files for now ?
     51 	find "`pwd`/liba" -iname "*.la" -exec rm {} \;