fuse-exfat: update to 1.2.0.

This commit is contained in:
Juan RP 2015-09-11 08:09:36 +02:00
parent 39b98bcd9b
commit c777a57a45
2 changed files with 10 additions and 32 deletions

View File

@ -1,18 +0,0 @@
--- libexfat/platform.h.orig 2015-08-17 23:32:56.701648786 +0200
+++ libexfat/platform.h 2015-08-17 23:33:04.219648224 +0200
@@ -57,7 +57,14 @@
#define EXFAT_BIG_ENDIAN _BIG_ENDIAN
#else
-#error Unknown platform
+#include <endian.h>
+#include <byteswap.h>
+#define exfat_bswap16(x) bswap_16(x)
+#define exfat_bswap32(x) bswap_32(x)
+#define exfat_bswap64(x) bswap_64(x)
+#define EXFAT_BYTE_ORDER __BYTE_ORDER
+#define EXFAT_LITTLE_ENDIAN __LITTLE_ENDIAN
+#define EXFAT_BIG_ENDIAN __BIG_ENDIAN
#endif
#endif /* ifndef PLATFORM_H_INCLUDED */

View File

@ -1,22 +1,18 @@
# Template file for 'fuse-exfat'
pkgname=fuse-exfat
version=1.1.0
revision=3
hostmakedepends="scons"
makedepends="fuse-devel exfat-utils"
version=1.2.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config exfat-utils"
makedepends="fuse-devel"
depends="exfat-utils>=${version}"
short_desc="Free exFAT file system implementation"
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-REKbE3VTdaa0EzTkhYdU0>${pkgname}-${version}.tar.gz"
checksum=198c520e417e955dc5c08687c278e63eefa56719da4452aa4a605be0327f953e
homepage="https://github.com/relan/exfat"
distfiles="https://github.com/relan/exfat/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=beb6090c500bcd50dd3cca8b63df86d180d2ea502da1e27a83a81e61d3247cfc
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
install -Dm444 fuse/mount.exfat-fuse.8 ${DESTDIR}/usr/share/man/man8/mount.exfat-fuse.8
post_install() {
vinstall fuse/mount.exfat-fuse.8 644 usr/share/man/man8 mount.exfat-fuse.8
}