void-packages/srcpkgs/ntfs-3g/template
2014-01-29 13:00:55 +01:00

34 lines
1 KiB
Text

# Template file for 'ntfs-3g'
pkgname=ntfs-3g
version=2013.1.13
revision=3
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"
provides="ntfsprogs-${version}"
replaces="ntfsprogs>=0"
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=4b383f0074a3ab7683339d1f18222b107aaeb4983db119292c43c2b275cefb27
post_install() {
vmkdir usr/sbin
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin
}
ntfs-3g-devel_package() {
depends="fuse-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
replaces="ntfsprogs-devel>=0"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}