summaryrefslogtreecommitdiff
path: root/package/bc/Makefile
blob: 63f91c284b10eeb3e47c4b97cea033a5e33c3a60 (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
27
28
29
30
31
# $Id$
#-
# 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:=		bc
PKG_VERSION:=		1.06
PKG_RELEASE:=		1
PKG_MD5SUM:=		d44b5dddebd8a7a7309aea6c36fda117
MASTER_SITES:=		http://ftp.gnu.org/pub/gnu/bc/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,DC,dc,${PKG_VERSION}-${PKG_RELEASE}))

CONFIGURE_STYLE=	gnu
BUILD_STYLE=		auto
INSTALL_STYLE=		auto

post-install:
	# bc
	${INSTALL_DIR} ${IDIR_BC}/usr/bin
	${INSTALL_BIN} ${WRKBUILD}/bc/bc ${IDIR_BC}/usr/bin/bc
	# dc
	${INSTALL_DIR} ${IDIR_DC}/usr/bin
	${INSTALL_BIN} ${WRKBUILD}/dc/dc ${IDIR_DC}/usr/bin/dc

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