void-packages/srcpkgs/fuse3/template
2017-07-16 00:42:33 +00:00

31 lines
916 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.1.0
revision=3
build_style=gnu-configure
wrksrc="fuse-${version}"
configure_args="--enable-lib --enable-util --disable-example"
hostmakedepends="automake libtool gettext-devel"
short_desc="Filesystem in Userspace 3.x"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-2"
homepage="https://github.com/libfuse/libfuse"
distfiles="https://github.com/libfuse/libfuse/releases/download/fuse-${version}/fuse-${version}.tar.gz"
checksum=b4d496fd39b9bf69b7cdeea1cbe6e8e3794dfaafe2a16ffac01a4ff10336e19e
post_install() {
rm -rf ${DESTDIR}/etc/init.d
rm -rf ${DESTDIR}/usr/lib/udev/rules.d
mv ${DESTDIR}/usr/share/man/man8/mount.fuse{,3}.8
}
fuse3-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}