1
0

Makefile 938 B

123456789101112131415161718192021222324252627
  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. include ${TOPDIR}/toolchain/mpc/Makefile.inc
  5. PKG_DESCR:= GNU multiprecision arithmetic library
  6. PKG_SECTION:= libs
  7. PKG_BUILDDEP:= gmp mpfr
  8. PKG_URL:= http://www.multiprecision.org/
  9. PKG_SUBPKGS:= LIBMPC LIBMPC_DEV
  10. include ${TOPDIR}/mk/package.mk
  11. $(eval $(call PKG_template,LIBMPC,libmpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  12. $(eval $(call PKG_template,LIBMPC_DEV,libmpc-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. libmpc-install:
  14. ${INSTALL_DIR} ${IDIR_LIBMPC}/usr/lib
  15. ${CP} ${WRKINST}/usr/lib/libmpc.so* ${IDIR_LIBMPC}/usr/lib
  16. libmpc-dev-install:
  17. ${INSTALL_DIR} ${IDIR_LIBMPC_DEV}/usr/include
  18. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBMPC_DEV}/usr/include
  19. include ${TOPDIR}/mk/pkg-bottom.mk