blob: 3b36d8800219f63ba7004b054d62b15f2bb913dc [file] [log] [blame]
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/exfat-utils/exfat-utils-0.9.8.ebuild,v 1.3 2013/01/09 23:03:22 vapier Exp $
EAPI=4
inherit scons-utils toolchain-funcs eutils
DESCRIPTION="exFAT filesystem utilities"
HOMEPAGE="http://code.google.com/p/exfat/"
SRC_URI="http://exfat.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.9.8-build-vars.patch
}
src_compile() {
tc-export CC
escons CCFLAGS="${CFLAGS}"
}
src_install() {
dobin dump/dumpexfat label/exfatlabel mkfs/mkexfatfs fsck/exfatfsck
dosym mkexfatfs /usr/bin/mkfs.exfat
dosym exfatfsck /usr/bin/fsck.exfat
doman */*.8
dodoc ChangeLog
}