diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-10 17:30:05 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-10 17:30:05 +0100 |
commit | 5c53c898d354eded2834e43550d299cb1c58ec58 (patch) | |
tree | 587d396bf3eaea3529bb6c524c153bc4a96bbc85 | |
parent | 163c729ef251a87ca61731bf63892607953e3fa1 (diff) |
use flex-host
-rw-r--r-- | package/bc/Makefile | 7 | ||||
-rw-r--r-- | package/flex/Makefile | 7 |
2 files changed, 10 insertions, 4 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 diff --git a/package/flex/Makefile b/package/flex/Makefile index 221f8b5bf..84bfb9c38 100644 --- a/package/flex/Makefile +++ b/package/flex/Makefile @@ -9,15 +9,19 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 201d3f38758d95436cbc64903386de0b PKG_DESCR:= fast lexical analyzer PKG_SECTION:= lang -PKG_BUILDDEP:= m4-host +PKG_BUILDDEP:= m4-host flex-host PKG_URL:= http://flex.sourceforge.net/ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/} PKG_OPTS:= dev +include ${TOPDIR}/mk/host.mk include ${TOPDIR}/mk/package.mk +$(eval $(call HOST_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE})) $(eval $(call PKG_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +HOST_STYLE:= auto + flex-install: ${INSTALL_DIR} ${IDIR_FLEX}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin @@ -26,4 +30,5 @@ flex-install: ${CP} ${WRKINST}/usr/lib/libfl.a \ ${IDIR_FLEX_DEV}/usr/lib +include ${TOPDIR}/mk/host-bottom.mk include ${TOPDIR}/mk/pkg-bottom.mk |