# Template file for 'fuse-exfat'
pkgname=fuse-exfat
version=1.1.0
revision=2
hostmakedepends="scons"
makedepends="fuse-devel exfat-utils"
depends="exfat-utils>=${version}"
short_desc="Free exFAT file system implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://code.google.com/p/exfat"
distfiles="https://docs.google.com/uc?export=download&id=0B7CLI-REKbE3VTdaa0EzTkhYdU0>${pkgname}-${version}.tar.gz"
checksum=198c520e417e955dc5c08687c278e63eefa56719da4452aa4a605be0327f953e

do_build() {
	scons CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS} " DESTDIR="${DESTDIR}/usr/bin"
}

do_install() {
	scons CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS} " DESTDIR="${DESTDIR}/usr/bin" install
	install -Dm444 fuse/mount.exfat-fuse.8 ${DESTDIR}/usr/share/man/man8/mount.exfat-fuse.8
}
