void-packages/srcpkgs/fuse-usmb/template

24 lines
728 B
Bash

# Template file for 'fuse-usmb'
pkgname=fuse-usmb
version=20130204
revision=6
_commit=aa94e13
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config git"
makedepends="glib-devel libxml2-devel fuse-devel samba-devel"
short_desc="FUSE filesystem for SMB/CIFS shares"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="http://ametros.net/code.html#usmb"
distfiles="http://repo.or.cz/w/usmb.git/snapshot/$_commit.tar.gz"
checksum=d10bea16001b3b778a589477e2fff22a359a2b278dc5c2e497de876a95892a25
wrksrc="usmb-$_commit"
pre_configure() {
sed -i '/_BSD_SOURCE/d' configure.ac
autoreconf -fi
}
do_install() {
make bindir=${DESTDIR}/usr/bin man1dir=${DESTDIR}/usr/share/man/man1 install
}