void-packages/srcpkgs/fuse-usmb/template
2015-07-24 11:20:47 +02:00

24 lines
664 B
Bash

# Template file for 'fuse-usmb'
pkgname=fuse-usmb
version=20130204
revision=4
build_pie=yes
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 bindir=${DESTDIR}/usr/bin man1dir=${DESTDIR}/usr/share/man/man1 install
}