# Template file for 'exfat-utils'
pkgname=exfat-utils
version=1.0.0
revision=1
makedepends="scons"
short_desc="Utilities for exFAT file system"
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=9079c6fa1eea33ca635252985c226141968d88445abf0255a4119bf54028df1d

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

	vmkdir usr/share/man/man8
	install -m444 {dump,fsck,mkfs,label}/*.8 \
		${DESTDIR}/usr/share/man/man8
}

exfat-utils_package() {
	pkg_install() {
		vmove usr
	}
}