void-packages/srcpkgs/fuse3/template

32 lines
916 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.1.1
revision=1
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=4e89cf58d0b498fc37f7474193fe9c17dbd3b5d14e5abc6ff629b33e81f1d213
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"
}
}