void-packages/srcpkgs/ntfs-3g/template

33 lines
996 B
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
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"
}
}