1
0

Makefile 634 B

123456789101112131415161718192021
  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/gmp/Makefile.inc
  5. PKG_DESCR:= GNU multiprecision arithmetic library
  6. PKG_SECTION:= libs
  7. PKG_URL:= http://gmplib.org/
  8. PKG_SUBPKGS:= LIBGMP
  9. include ${TOPDIR}/mk/package.mk
  10. $(eval $(call PKG_template,LIBGMP,libgmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  11. post-install:
  12. ${INSTALL_DIR} ${IDIR_LIBGMP}/usr/lib
  13. ${CP} ${WRKINST}/usr/lib/libgmp.so* ${IDIR_LIBGMP}/usr/lib/
  14. include ${TOPDIR}/mk/pkg-bottom.mk