exfat-utils: cross build support.

This commit is contained in:
Juan RP 2014-01-29 13:04:06 +01:00
parent 83f06c5629
commit 9b891f44ec
1 changed files with 4 additions and 7 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'exfat-utils' # Template file for 'exfat-utils'
pkgname=exfat-utils pkgname=exfat-utils
version=1.0.0 version=1.0.0
revision=1 revision=2
makedepends="scons" hostmakedepends="scons"
short_desc="Utilities for exFAT file system" short_desc="Utilities for exFAT file system"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3" license="GPL-3"
@ -11,10 +11,7 @@ distfiles="http://exfat.googlecode.com/files/${pkgname}-${version}.tar.gz"
checksum=9079c6fa1eea33ca635252985c226141968d88445abf0255a4119bf54028df1d checksum=9079c6fa1eea33ca635252985c226141968d88445abf0255a4119bf54028df1d
do_install() { do_install() {
scons CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS} " \ scons CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS} " DESTDIR="${DESTDIR}/usr/bin" install
DESTDIR="${DESTDIR}/usr/bin" install
vmkdir usr/share/man/man8 vmkdir usr/share/man/man8
install -m444 {dump,fsck,mkfs,label}/*.8 \ install -m444 {dump,fsck,mkfs,label}/*.8 ${DESTDIR}/usr/share/man/man8
${DESTDIR}/usr/share/man/man8
} }