void-packages/srcpkgs/fuse3/template
2017-07-14 23:10:18 +02:00

30 lines
865 B
Bash

# Template file for 'fuse3'
pkgname=fuse3
version=3.1.0
revision=2
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
}
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"
}
}