Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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.9
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 1f300a7a7f975d4046f51c3022fa5ff1
  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. PKG_SUBPKGS:= LIBFFI LIBFFI_DEV
  13. PKGSC_LIBFFI_DEV:= devel
  14. PKGSD_LIBFFI_DEV:= libffi headers
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBFFI_DEV,libffi-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBFFI_DEV},${PKGSC_LIBFFI_DEV}))
  18. libffi-install:
  19. ${INSTALL_DIR} ${IDIR_LIBFFI}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libffi.so* ${IDIR_LIBFFI}/usr/lib
  21. libffi-dev-install:
  22. ${INSTALL_DIR} ${IDIR_LIBFFI_DEV}/usr/include
  23. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBFFI_DEV}/usr/include
  24. include ${TOPDIR}/mk/pkg-bottom.mk