void-packages/srcpkgs/fuse3/template

32 lines
916 B
Bash
Raw Normal View History

2017-07-14 20:47:01 +02:00
# Template file for 'fuse3'
pkgname=fuse3
2017-08-12 22:51:12 +02:00
version=3.1.1
revision=1
2017-07-14 20:47:01 +02:00
build_style=gnu-configure
wrksrc="fuse-${version}"
2017-07-14 21:11:52 +02:00
configure_args="--enable-lib --enable-util --disable-example"
2017-07-14 20:47:01 +02:00
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"
2017-08-12 22:51:12 +02:00
checksum=4e89cf58d0b498fc37f7474193fe9c17dbd3b5d14e5abc6ff629b33e81f1d213
2017-07-14 20:47:01 +02:00
post_install() {
rm -rf ${DESTDIR}/etc/init.d
rm -rf ${DESTDIR}/usr/lib/udev/rules.d
2017-07-16 02:42:33 +02:00
mv ${DESTDIR}/usr/share/man/man8/mount.fuse{,3}.8
}
2017-07-14 20:47:01 +02:00
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"
}
}