ntfs-3g: enable build_pie/relro; move to bin.
This commit is contained in:
parent
cf2034a796
commit
2b1dc13f07
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'ntfs-3g'
|
# Template file for 'ntfs-3g'
|
||||||
pkgname=ntfs-3g
|
pkgname=ntfs-3g
|
||||||
version=2014.2.15
|
version=2014.2.15
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="${pkgname}_ntfsprogs-${version}"
|
wrksrc="${pkgname}_ntfsprogs-${version}"
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--exec-prefix=/usr --disable-static --with-fuse=external
|
configure_args="--exec-prefix=/usr --disable-static --with-fuse=external
|
||||||
--enable-posix-acls --enable-xattr-mappings"
|
--enable-posix-acls --enable-xattr-mappings"
|
||||||
|
@ -16,8 +17,7 @@ distfiles="http://www.tuxera.com/opensource/${pkgname}_ntfsprogs-${version}.tgz"
|
||||||
checksum=4c3099400cb14b231a3c9d718b3a8d152d38555059341ce5fc6d02292a4a5b56
|
checksum=4c3099400cb14b231a3c9d718b3a8d152d38555059341ce5fc6d02292a4a5b56
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/sbin
|
mv ${DESTDIR}/{/usr/,}sbin/* ${DESTDIR}/usr/bin
|
||||||
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin
|
|
||||||
ln -sf ntfs-3g ${DESTDIR}/usr/bin/mount.ntfs
|
ln -sf ntfs-3g ${DESTDIR}/usr/bin/mount.ntfs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue