openvpn: update to 2.4.3
[openadk.git] / package / mtools / Makefile
blob2072e88d734821ef5a805788aec39f3c0fd28385
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:= mtools
7 PKG_VERSION:= 4.0.18
8 PKG_RELEASE:= 1
9 PKG_HASH:= 30d408d039b4cedcd04fbf824c89b0ff85dcbb6f71f13d2d8d65abb3f58cacc3
10 PKG_DESCR:= utilities to access fat filesystems
11 PKG_SECTION:= sys/fs
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
25 endif
27 CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
29 mtools-install:
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