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
9 PKG_HASH
:= 30d408d039b4cedcd04fbf824c89b0ff85dcbb6f71f13d2d8d65abb3f58cacc3
10 PKG_DESCR
:= utilities to access fat filesystems
12 PKG_URL
:= https
://www.gnu.org
/software
/mtools
/intro.html
13 PKG_SITES
:= ftp
://ftp.gnu.org
/gnu
/mtools
/
15 DISTFILES
:= $(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 include ${ADK_TOPDIR}/mk
/host.mk
18 include ${ADK_TOPDIR}/mk
/package.mk
20 $(eval
$(call HOST_template
,MTOOLS
,mtools
,${PKG_VERSION}-${PKG_RELEASE}))
21 $(eval
$(call PKG_template
,MTOOLS
,mtools
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 ifeq ($(OS_FOR_BUILD
),Darwin
)
24 HOST_LDFLAGS
+= -liconv
27 CONFIGURE_ENV
+= ac_cv_func_setpgrp_void
=yes
30 ${INSTALL_DIR} ${IDIR_MTOOLS}/usr
/bin
31 ${CP} ${WRKINST}/usr
/bin
/m
* ${IDIR_MTOOLS}/usr
/bin
33 include ${ADK_TOPDIR}/mk
/host-bottom.mk
34 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk