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

40 lines
1.0 KiB
Plaintext

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