shadow: update to 4.14.3
[openadk.git] / package / dosfstools / Makefile
blob8238eced9ce074bc37fe8a89b9aea9a5e523c601
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= dosfstools
7 PKG_VERSION:= 4.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527
10 PKG_DESCR:= utilities to create and check fat filesystems
11 PKG_SECTION:= sys/fs
12 PKG_URL:= http://www.daniel-baumann.ch/software/dosfstools/
13 PKG_SITES:= https://github.com/dosfstools/dosfstools/releases/download/v4.2/
15 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_CFLINE_DOSFSTOOLS:= select BUSYBOX_FSCK
19 include ${ADK_TOPDIR}/mk/host.mk
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call HOST_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE}))
23 $(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 HOST_CONFIGURE_ARGS+= --enable-compat-symlinks
27 dosfstools-install:
28 ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/usr/sbin
29 ${INSTALL_BIN} ${WRKINST}/usr/sbin/fsck.fat ${IDIR_DOSFSTOOLS}/usr/sbin
30 ${INSTALL_BIN} ${WRKINST}/usr/sbin/mkfs.fat ${IDIR_DOSFSTOOLS}/usr/sbin
32 include ${ADK_TOPDIR}/mk/host-bottom.mk
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk