Makefile 920 B

12345678910111213141516171819202122232425262728
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= bc
  5. PKG_VERSION:= 1.06
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d44b5dddebd8a7a7309aea6c36fda117
  8. PKG_DESCR:= An arbitrary precision calculator language
  9. PKG_SECTION:= util
  10. PKG_URL:= http://www.gnu.org/software/bc
  11. PKG_SITES:= http://ftp.gnu.org/pub/gnu/bc/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. $(eval $(call PKG_template,DC,dc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. post-install:
  16. # bc
  17. ${INSTALL_DIR} ${IDIR_BC}/usr/bin
  18. ${INSTALL_BIN} ${WRKBUILD}/bc/bc ${IDIR_BC}/usr/bin/bc
  19. # dc
  20. ${INSTALL_DIR} ${IDIR_DC}/usr/bin
  21. ${INSTALL_BIN} ${WRKBUILD}/dc/dc ${IDIR_DC}/usr/bin/dc
  22. include ${TOPDIR}/mk/pkg-bottom.mk