or1k: rename or1k-sim to sim-or1k, by default 64mb ram
[openadk.git] / package / dosfstools / Makefile
blob7487b2e4c757e70449bf35b3e573ae7c30baf7cb
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.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
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/v$(PKG_VERSION)/
15 PKG_CFLINE_DOSFSTOOLS:= select BUSYBOX_FSCK
17 include ${ADK_TOPDIR}/mk/host.mk
18 include ${ADK_TOPDIR}/mk/package.mk
20 $(eval $(call HOST_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE}))
21 $(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 HOST_CONFIGURE_ARGS+= --enable-compat-symlinks
25 dosfstools-install:
26 ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/usr/sbin
27 ${INSTALL_BIN} ${WRKINST}/usr/sbin/fsck.fat ${IDIR_DOSFSTOOLS}/usr/sbin
28 ${INSTALL_BIN} ${WRKINST}/usr/sbin/mkfs.fat ${IDIR_DOSFSTOOLS}/usr/sbin
30 include ${ADK_TOPDIR}/mk/host-bottom.mk
31 include ${ADK_TOPDIR}/mk/pkg-bottom.mk