summaryrefslogtreecommitdiff
path: root/package/m4/Makefile
blob: 2f762d7fe1471ffdcb1f3ecce6de3f3e7f4202e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		m4
PKG_VERSION:=		1.4.13
PKG_RELEASE:=		1
PKG_MD5SUM:=		e9e36108b5f9855a82ca4a07ebc0fd2e
PKG_DESCR:=		macro processor
PKG_SECTION:=		comp
PKG_URL:=		http://www.gnu.org/software/m4/
PKG_SITES:=		${MASTER_SITE_GNU:=${PKG_NAME}/}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,M4,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=		ac_cv_func_mbrtowc=no \
			gl_cv_func_wcrtomb_retval=no

post-install:
	${INSTALL_DIR} ${IDIR_M4}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/m4 ${IDIR_M4}/usr/bin

include ${TOPDIR}/mk/pkg-bottom.mk