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
:= 4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33
10 PKG_DESCR
:= arbitrary precision calculator language
11 PKG_SECTION
:= sys
/utils
12 PKG_BUILDDEP
:= m4-host flex-host
13 HOST_BUILDDEP
:= m4-host flex-host
14 PKG_URL
:= http
://www.gnu.org
/software
/bc
/
15 PKG_SITES
:= http
://ftp.gnu.org
/pub
/gnu
/bc
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
21 include ${ADK_TOPDIR}/mk
/host.mk
22 include ${ADK_TOPDIR}/mk
/package.mk
24 $(eval
$(call HOST_template
,BC
,bc
,${PKG_VERSION}-${PKG_RELEASE}))
25 $(eval
$(call PKG_template
,BC
,bc
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 $(eval
$(call PKG_template
,DC
,dc
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
29 ${INSTALL_DIR} ${IDIR_BC}/usr
/bin
30 ${INSTALL_BIN} ${WRKBUILD}/bc
/bc
${IDIR_BC}/usr
/bin
/bc
33 ${INSTALL_DIR} ${IDIR_DC}/usr
/bin
34 ${INSTALL_BIN} ${WRKBUILD}/dc
/dc
${IDIR_DC}/usr
/bin
/dc
36 include ${ADK_TOPDIR}/mk
/host-bottom.mk
37 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk