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

31 lines
997 B
Bash

# Template file for 'ntfs-3g'
pkgname=ntfs-3g
version=2016.2.22
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=d7b72c05e4b3493e6095be789a760c9f5f2b141812d5b885f3190c98802f1ea0
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"
}
}