ntfs-3g: enable build_pie/relro; move to bin.

This commit is contained in:
Juan RP 2015-03-18 18:05:00 +01:00
parent cf2034a796
commit 2b1dc13f07
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# Template file for 'ntfs-3g'
pkgname=ntfs-3g
version=2014.2.15
revision=2
revision=3
wrksrc="${pkgname}_ntfsprogs-${version}"
build_pie=yes
build_style=gnu-configure
configure_args="--exec-prefix=/usr --disable-static --with-fuse=external
--enable-posix-acls --enable-xattr-mappings"
@ -16,8 +17,7 @@ distfiles="http://www.tuxera.com/opensource/${pkgname}_ntfsprogs-${version}.tgz"
checksum=4c3099400cb14b231a3c9d718b3a8d152d38555059341ce5fc6d02292a4a5b56
post_install() {
vmkdir usr/sbin
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin
mv ${DESTDIR}/{/usr/,}sbin/* ${DESTDIR}/usr/bin
ln -sf ntfs-3g ${DESTDIR}/usr/bin/mount.ntfs
}