summaryrefslogtreecommitdiff
path: root/package/bc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-10 17:30:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-10 17:30:05 +0100
commit5c53c898d354eded2834e43550d299cb1c58ec58 (patch)
tree587d396bf3eaea3529bb6c524c153bc4a96bbc85 /package/bc
parent163c729ef251a87ca61731bf63892607953e3fa1 (diff)
use flex-host
Diffstat (limited to 'package/bc')
-rw-r--r--package/bc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/bc/Makefile b/package/bc/Makefile
index 3ee37411b..d4af2f264 100644
--- a/package/bc/Makefile
+++ b/package/bc/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= d44b5dddebd8a7a7309aea6c36fda117
PKG_DESCR:= An arbitrary precision calculator language
PKG_SECTION:= utils
+PKG_BUILDDEP:= flex-host
PKG_URL:= http://www.gnu.org/software/bc/
PKG_SITES:= http://ftp.gnu.org/pub/gnu/bc/
@@ -19,11 +20,11 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,DC,dc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-post-install:
- # bc
+bc-install:
${INSTALL_DIR} ${IDIR_BC}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/bc/bc ${IDIR_BC}/usr/bin/bc
- # dc
+
+dc-install:
${INSTALL_DIR} ${IDIR_DC}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/dc/dc ${IDIR_DC}/usr/bin/dc