summaryrefslogtreecommitdiff
path: root/package/dosfstools
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/dosfstools
Initial import
Diffstat (limited to 'package/dosfstools')
-rw-r--r--package/dosfstools/Config.in6
-rw-r--r--package/dosfstools/Makefile30
-rw-r--r--package/dosfstools/ipkg/dosfstools.control4
3 files changed, 40 insertions, 0 deletions
diff --git a/package/dosfstools/Config.in b/package/dosfstools/Config.in
new file mode 100644
index 000000000..af9ea7902
--- /dev/null
+++ b/package/dosfstools/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_DOSFSTOOLS
+ prompt "dosfstools........................ Utilities to create and check MS-DOS FAT filesystems"
+ tristate
+ default n
+ help
+ Utilities to create and check MS-DOS FAT filesystems.
diff --git a/package/dosfstools/Makefile b/package/dosfstools/Makefile
new file mode 100644
index 000000000..36ce4187f
--- /dev/null
+++ b/package/dosfstools/Makefile
@@ -0,0 +1,30 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= dosfstools
+PKG_VERSION:= 3.0.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 94c2ea84b191de958f765ee239457bd9
+MASTER_SITES:= http://www.daniel-baumann.ch/software/dosfstools/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+XAKE_FLAGS+= PREFIX="" \
+ OPTFLAGS="${TARGET_CFLAGS} -D_FILE_OFFSET_BITS=64"
+
+post-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/mkdosfs ${IDIR_DOSFSTOOLS}/sbin/
+ ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dosfstools/ipkg/dosfstools.control b/package/dosfstools/ipkg/dosfstools.control
new file mode 100644
index 000000000..4ec52a01f
--- /dev/null
+++ b/package/dosfstools/ipkg/dosfstools.control
@@ -0,0 +1,4 @@
+Package: dosfstools
+Priority: optional
+Section: admin
+Description: Utilities to create and check MS-DOS FAT filesystems