void-packages/srcpkgs/ntfs-3g/template
Juan RP 1a5a559d0c ntfs-3g: create a mount.ntfs symlink to use ntfs-3g by default.
As pointed out by @equeim in #697 without the mount.ntfs symlink
it would use the linux kernel implementation rather than ntfs-3g.

Close #697
2014-12-11 07:48:30 +01:00

34 lines
1 KiB
Plaintext

# Template file for 'ntfs-3g'
pkgname=ntfs-3g
version=2014.2.15
revision=2
wrksrc="${pkgname}_ntfsprogs-${version}"
build_style=gnu-configure
configure_args="--exec-prefix=/usr --disable-static --with-fuse=external
--enable-posix-acls --enable-xattr-mappings"
hostmakedepends="pkg-config"
makedepends="libuuid-devel fuse-devel"
short_desc="Stable Read/Write NTFS Driver in userspace"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.tuxera.com/community/ntfs-3g-download/"
license="GPL-2"
distfiles="http://www.tuxera.com/opensource/${pkgname}_ntfsprogs-${version}.tgz"
checksum=4c3099400cb14b231a3c9d718b3a8d152d38555059341ce5fc6d02292a4a5b56
update_pkgname=ntfs-3g_ntfsprogs
post_install() {
vmkdir usr/sbin
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin
ln -sf ntfs-3g ${DESTDIR}/usr/bin/mount.ntfs
}
ntfs-3g-devel_package() {
depends="fuse-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}