Makefile 795 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. PKG_NAME:= libffi
  5. PKG_VERSION:= 3.0.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 188a4f79fdac2310044b44b7d3918ef9
  8. PKG_DESCR:= Foreign Function Interface library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://sourceware.org/libffi
  11. PKG_SITES:= ftp://sourceware.org/pub/libffi/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE= autotool gnu
  15. BUILD_STYLE= auto
  16. INSTALL_STYLE= auto
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_LIBFFI}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libffi.so.* ${IDIR_LIBFFI}/usr/lib/
  20. include ${TOPDIR}/mk/pkg-bottom.mk