40 lines
1.4 KiB
Bash
40 lines
1.4 KiB
Bash
# Template file for 'ntfs-3g'
|
|
pkgname=ntfs-3g
|
|
version=2017.3.23
|
|
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 --sbin=/usr/bin
|
|
$(vopt_if extras --enable-extras)
|
|
$(vopt_if crypto --enable-crypto)
|
|
$(vopt_if quarantined --enable-quarantined)"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libuuid-devel fuse-devel $(vopt_if crypto 'libgcrypt-devel gnutls-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
|
|
|
|
build_options="crypto extras quarantined"
|
|
desc_option_crypto="Enable crypto related code and utilities"
|
|
desc_option_extras="Enable extra ntfsprogs utilities"
|
|
desc_option_quarantined="Enable quarantined ntfsprogs utilities"
|
|
build_options_default="crypto extras"
|
|
|
|
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"
|
|
}
|
|
}
|