void-packages/srcpkgs/fuse-usmb/template

23 lines
643 B
Bash

# Template file for 'fuse-usmb'
pkgname=fuse-usmb
version=20130204
revision=2
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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://ametros.net/code.html#usmb"
do_fetch() {
git clone -b${version} git://repo.or.cz/usmb.git ${pkgname}-${version}
sed -i '/_BSD_SOURCE/d' ${pkgname}-${version}/configure.ac
}
pre_configure() {
autoreconf -fi
}
do_install() {
make DESTDIR=${DESTDIR} man1dir=${DESTDIR}/usr/share/man/man1 install
}