# Template file for 'boxfs'
pkgname=boxfs
version=20120131
revision=1
short_desc="FUSE-based filesystem that lets you mount your box.net account to a local directory"
maintainer="pancake <pancake@nopcode.org>"
license="GPL-2"
homepage="https://code.google.com/p/boxfs/"
hostmakedepends="pkg-config subversion"
makedepends="libxml2-devel libzip-devel libapp-devel fuse-devel libcurl-devel"

do_fetch() {
	local _svnrev=90
	svn co -r${_svnrev} http://boxfs.googlecode.com/svn/trunk ${pkgname}-${version}
}

do_build() {
	make ${makejobs} CFLAGS="-D_FILE_OFFSET_BITS=64 $CFLAGS"
}

do_install() {
	vinstall boxfs 755 usr/bin
}
