# Template file for 'fuse-usmb' pkgname=fuse-usmb version=20130204 revision=7 _commit=aa94e13 wrksrc="usmb-$_commit" 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 " 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 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/samba-4.0" 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 }