1
0

Makefile 944 B

123456789101112131415161718192021222324252627282930
  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:= utils
  10. PKG_URL:= http://www.gnu.org/software/bc/
  11. PKG_SITES:= http://ftp.gnu.org/pub/gnu/bc/
  12. PKG_SUBPKGS:= BC DC
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. $(eval $(call PKG_template,DC,dc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. post-install:
  17. # bc
  18. ${INSTALL_DIR} ${IDIR_BC}/usr/bin
  19. ${INSTALL_BIN} ${WRKBUILD}/bc/bc ${IDIR_BC}/usr/bin/bc
  20. # dc
  21. ${INSTALL_DIR} ${IDIR_DC}/usr/bin
  22. ${INSTALL_BIN} ${WRKBUILD}/dc/dc ${IDIR_DC}/usr/bin/dc
  23. include ${TOPDIR}/mk/pkg-bottom.mk