dosfstools: update to 4.0

- build system has been converted to use autotools
- use '--enable-compat-symlinks' to install symlinks for legacy names of
  the tools
- udev support
- add patch to fix compilation with musl libc (upstreamed)
This commit is contained in:
Alessio Sergi 2016-05-06 19:29:01 +02:00
parent a4992e91fb
commit 376b9dd6fc
2 changed files with 19 additions and 9 deletions

View file

@ -0,0 +1,10 @@
--- src/device_info.c.orig
+++ src/device_info.c
@@ -17,6 +17,7 @@
*/
+#include <limits.h>
#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h>

View file

@ -1,17 +1,17 @@
# Template file for 'dosfstools'
pkgname=dosfstools
version=3.0.28
version=4.0
revision=1
build_style=gnu-makefile
make_install_args="PREFIX=/usr SBINDIR=/usr/bin"
build_style=gnu-configure
configure_args="--enable-compat-symlinks"
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
short_desc="DOS filesystem tools"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.daniel-baumann.ch/software/$pkgname"
license="GPL-2"
distfiles="https://github.com/$pkgname/$pkgname/releases/download/v$version/$pkgname-$version.tar.xz"
checksum=ee95913044ecf2719b63ea11212917649709a6e53209a72d622135aaa8517ee2
CFLAGS="-D_GNU_SOURCE -Du_int32_t=uint32_t"
homepage="https://github.com/dosfstools/dosfstools"
license="GPL-3"
distfiles="https://github.com/$pkgname/$pkgname/releases/download/v$version/${pkgname}-${version}.tar.xz"
checksum=9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
post_install() {
rm -rf ${DESTDIR}/usr/share/doc