summaryrefslogtreecommitdiff
path: root/package/dosfstools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/dosfstools/Makefile')
-rw-r--r--package/dosfstools/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/dosfstools/Makefile b/package/dosfstools/Makefile
index 64c5545b2..352bc7a92 100644
--- a/package/dosfstools/Makefile
+++ b/package/dosfstools/Makefile
@@ -12,13 +12,18 @@ PKG_SECTION:= sys/fs
PKG_URL:= http://www.daniel-baumann.ch/software/dosfstools/
PKG_SITES:= https://github.com/dosfstools/dosfstools/releases/download/v$(PKG_VERSION)/
+include ${ADK_TOPDIR}/mk/host.mk
include ${ADK_TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+HOST_CONFIGURE_ARGS+= --enable-compat-symlinks
+
dosfstools-install:
${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/fsck.fat ${IDIR_DOSFSTOOLS}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/mkfs.fat ${IDIR_DOSFSTOOLS}/usr/sbin
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk