void-packages/srcpkgs/fuse/template
Andrea Brancaleoni cab516c47f fuse: build PIE
2015-08-19 11:11:57 +02:00

30 lines
795 B
Bash

# Template file for 'fuse'
pkgname=fuse
version=2.9.4
revision=3
build_pie=yes
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-lib --enable-util"
short_desc="Filesystem in Userspace"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://fuse.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=6be9c0bff6af8c677414935f31699ea5a7f8f5f791cfa5205be02ea186b97ce1
post_install() {
# remove obsolete rules file provided by udev.
rm -rf ${DESTDIR}/{dev,etc}
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
}
fuse-devel_package() {
depends="fuse>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}