# Template file for 'exfat-utils'
pkgname=exfat-utils
version=1.1.1
revision=1
hostmakedepends="scons"
short_desc="Utilities for exFAT file system"
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-REKbE3UzNtSkRvdHBpdjQ>${pkgname}-${version}.tar.gz"
checksum=c64454083961fbad164fa7daef03d7e9247aa978c11395d62a265d48a1d56232

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
	vmkdir usr/share/man/man8
	install -m444 {dump,fsck,mkfs,label}/*.8 ${DESTDIR}/usr/share/man/man8
}
