# Template file for 'fuse-exfat'
pkgname=fuse-exfat
version=1.0.0
revision=2
hostmakedepends="scons"
makedepends="fuse-devel exfat-utils>=${version}"
depends="exfat-utils>=${version}"
short_desc="Free exFAT file system implementation"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://code.google.com/p/exfat"
distfiles="http://exfat.googlecode.com/files/${pkgname}-${version}.tar.gz"
checksum=18c0dafed64596e536c5d47604585ff353a2e4bb067066e3ec5963a5a170f4a5

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

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