1
0

Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= arbitrary precision calculator language
  9. PKG_SECTION:= utils
  10. PKG_BUILDDEP:= m4-host flex-host
  11. HOST_BUILDDEP:= m4-host flex-host
  12. PKG_URL:= http://www.gnu.org/software/bc/
  13. PKG_SITES:= http://ftp.gnu.org/pub/gnu/bc/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_SUBPKGS:= BC DC
  16. include ${TOPDIR}/mk/host.mk
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call HOST_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE}))
  19. $(eval $(call PKG_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,DC,dc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. HOST_STYLE:= auto
  22. bc-install:
  23. ${INSTALL_DIR} ${IDIR_BC}/usr/bin
  24. ${INSTALL_BIN} ${WRKBUILD}/bc/bc ${IDIR_BC}/usr/bin/bc
  25. dc-install:
  26. ${INSTALL_DIR} ${IDIR_DC}/usr/bin
  27. ${INSTALL_BIN} ${WRKBUILD}/dc/dc ${IDIR_DC}/usr/bin/dc
  28. include ${TOPDIR}/mk/host-bottom.mk
  29. include ${TOPDIR}/mk/pkg-bottom.mk