summaryrefslogtreecommitdiff
path: root/package/libffi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libffi/Makefile')
-rw-r--r--package/libffi/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/libffi/Makefile b/package/libffi/Makefile
index 234e86dde..c6708e628 100644
--- a/package/libffi/Makefile
+++ b/package/libffi/Makefile
@@ -4,23 +4,29 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= libffi
-PKG_VERSION:= 3.0.11
+PKG_VERSION:= 3.0.13
PKG_RELEASE:= 1
-PKG_MD5SUM:= f69b9693227d976835b4857b1ba7d0e3
+PKG_MD5SUM:= 45f3b6dbc9ee7c7dfbbbc5feba571529
PKG_DESCR:= Foreign Function Interface library
PKG_SECTION:= libs
+PKG_BUILDDEP:= libffi-host
PKG_URL:= http://sourceware.org/libffi/
PKG_SITES:= ftp://sourceware.org/pub/libffi/
PKG_OPTS:= dev
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
+HOST_CONFIGURE_ARGS+= --disable-builddir
CONFIGURE_ARGS+= --disable-builddir
libffi-install:
${INSTALL_DIR} ${IDIR_LIBFFI}/usr/lib
${CP} ${WRKINST}/usr/lib/libffi.so* ${IDIR_LIBFFI}/usr/lib
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk