void-packages/srcpkgs/fuse/template

32 lines
799 B
Bash
Raw Normal View History

# Template file for 'fuse'
pkgname=fuse
2013-08-01 07:15:02 +02:00
version=2.9.3
2014-10-12 11:22:43 +02:00
revision=4
build_style=gnu-configure
configure_args="--enable-lib --enable-util"
short_desc="Filesystem in Userspace"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-10-27 19:46:41 +02:00
license="GPL-2"
2012-07-09 15:23:50 +02:00
homepage="http://fuse.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
2013-08-01 07:15:02 +02:00
checksum=0beb83eaf2c5e50730fc553406ef124d77bc02c64854631bdfc86bfd6437391c
2011-10-27 19:46:41 +02:00
post_install() {
# remove obsolete rules file provided by udev.
rm -rf ${DESTDIR}/{dev,etc}
2012-07-09 15:23:50 +02:00
# Switch to /usr.
vmkdir usr/sbin
2013-04-16 00:51:03 +02:00
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin
}
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"
}
}