void-packages/srcpkgs/ntfs-3g/template
2017-03-29 09:16:46 +02:00

31 lines
997 B
Bash

# Template file for 'ntfs-3g'
pkgname=ntfs-3g
version=2017.3.23
revision=1
wrksrc="${pkgname}_ntfsprogs-${version}"
build_style=gnu-configure
configure_args="--exec-prefix=/usr --disable-static --with-fuse=external
--enable-posix-acls --enable-xattr-mappings --sbin=/usr/bin"
hostmakedepends="pkg-config"
makedepends="libuuid-devel fuse-devel"
short_desc="Stable Read/Write NTFS Driver in userspace"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.tuxera.com/community/ntfs-3g-download/"
license="GPL-2"
distfiles="http://www.tuxera.com/opensource/${pkgname}_ntfsprogs-${version}.tgz"
checksum=3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5
post_install() {
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
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"
}
}