exfat-utils: switch to build_style=scons.

This commit is contained in:
Juan RP 2015-09-05 11:08:10 +02:00
parent 1d113a2eff
commit 90b46379ae

View file

@ -1,7 +1,8 @@
# Template file for 'exfat-utils'
pkgname=exfat-utils
version=1.1.1
revision=1
revision=2
build_style=scons
hostmakedepends="scons"
short_desc="Utilities for exFAT file system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -10,12 +11,12 @@ 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"
}
CFLAGS="-std=c99"
do_install() {
scons CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS} " DESTDIR="${DESTDIR}/usr/bin" install
pre_install() {
DESTDIR=${DESTDIR}/usr/bin
}
post_install() {
vmkdir usr/share/man/man8
install -m444 {dump,fsck,mkfs,label}/*.8 ${DESTDIR}/usr/share/man/man8
}