void-packages/srcpkgs/fuse/template

36 lines
911 B
Bash
Raw Normal View History

# Template file for 'fuse'
pkgname=fuse
2015-05-22 21:17:24 +02:00
version=2.9.4
revision=4
wrksrc="libfuse-fuse_${version//./_}"
build_style=gnu-configure
2015-06-02 08:00:23 +02:00
configure_args="--sbindir=/usr/bin --enable-lib --enable-util"
hostmakedepends="automake libtool gettext-devel"
short_desc="Filesystem in Userspace"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-10-27 19:46:41 +02:00
license="GPL-2"
homepage="https://github.com/libfuse/libfuse"
distfiles="${homepage}/archive/${pkgname}_${version//./_}.tar.gz"
checksum=23d4696c7d1cbaa91a02324480fb500312fbe940515636b96024b070cdc06073
pre_configure() {
./makeconf.sh
}
2011-10-27 19:46:41 +02:00
post_install() {
# remove obsolete rules file provided by udev.
rm -rf ${DESTDIR}/{dev,etc}
2015-06-02 08:00:23 +02:00
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
}
fuse-devel_package() {
depends="fuse>=${version}_${revision}"
2013-08-01 07:15:02 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-08-01 07:15:02 +02:00
vmove "usr/lib/*.so"
}
}