summaryrefslogtreecommitdiff
path: root/package/dosfstools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-13 09:11:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-13 09:11:48 +0100
commit607c3fcd1d10a37c077c870df450b5389fb519bf (patch)
tree9c7c0e209d6373efe2296e379c63c29d27a8847b /package/dosfstools
parentc16eb800d935d903d2ab38b3da8270324284e973 (diff)
parentf42fb988bae9d402b0b204614b54ba9b4261d877 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/dosfstools')
-rw-r--r--package/dosfstools/Makefile19
-rw-r--r--package/dosfstools/patches/patch-Makefile10
2 files changed, 17 insertions, 12 deletions
diff --git a/package/dosfstools/Makefile b/package/dosfstools/Makefile
index 9b6c365a1..1dd82182a 100644
--- a/package/dosfstools/Makefile
+++ b/package/dosfstools/Makefile
@@ -4,26 +4,29 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= dosfstools
-PKG_VERSION:= 3.0.9
+PKG_VERSION:= 3.0.26
PKG_RELEASE:= 2
-PKG_MD5SUM:= bd273cf8aa6341c0b52cbac72050bcf4
-PKG_DESCR:= Utilities to create and check MS-DOS FAT filesystems
+PKG_MD5SUM:= 45012f5f56f2aae3afcd62120b9e5a08
+PKG_DESCR:= utilities to create and check FAT filesystems
PKG_SECTION:= fs
+PKG_BUILDDEP:= libiconv-tiny
PKG_URL:= http://www.daniel-baumann.ch/software/dosfstools/
-PKG_SITES:= http://www.daniel-baumann.ch/software/dosfstools/
+PKG_SITES:= http://daniel-baumann.ch/files/software/dosfstools/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
-XAKE_FLAGS+= PREFIX="" OPTFLAGS="-D_FILE_OFFSET_BITS=64"
+XAKE_FLAGS+= PREFIX=""
-post-install:
+dosfstools-install:
${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/sbin
${CP} ${WRKINST}/sbin/dosfsck ${IDIR_DOSFSTOOLS}/sbin/
- ${CP} ${WRKINST}/sbin/fsck.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
+ ${CP} ${WRKINST}/sbin/fsck.{msdos,vfat,fat} ${IDIR_DOSFSTOOLS}/sbin/
${CP} ${WRKINST}/sbin/mkdosfs ${IDIR_DOSFSTOOLS}/sbin/
- ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
+ ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat,fat} ${IDIR_DOSFSTOOLS}/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dosfstools/patches/patch-Makefile b/package/dosfstools/patches/patch-Makefile
index c20b7f4dc..1d127acbc 100644
--- a/package/dosfstools/patches/patch-Makefile
+++ b/package/dosfstools/patches/patch-Makefile
@@ -1,11 +1,13 @@
---- dosfstools-3.0.9.orig/Makefile 2009-10-04 11:03:23.000000000 +0200
-+++ dosfstools-3.0.9/Makefile 2011-01-07 21:50:15.000000000 +0100
-@@ -29,7 +29,7 @@ OPTFLAGS = -O2 -fomit-frame-pointer $(sh
+--- dosfstools-3.0.26.orig/Makefile 2014-01-17 07:09:28.000000000 +0100
++++ dosfstools-3.0.26/Makefile 2014-03-13 08:58:52.000000000 +0100
+@@ -32,7 +32,9 @@ OPTFLAGS = -O2 -fomit-frame-pointer -D_G
#WARNFLAGS = -Wall -pedantic -std=c99
- WARNFLAGS = -Wall
+ WARNFLAGS = -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
DEBUGFLAGS = -g
-CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)
++CFLAGS ?=
+CFLAGS += $(WARNFLAGS)
++LDLIBS = -liconv
VPATH = src