summaryrefslogtreecommitdiff
path: root/package/libffi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libffi/Makefile')
-rw-r--r--package/libffi/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/package/libffi/Makefile b/package/libffi/Makefile
index 4bdd10ed4..234e86dde 100644
--- a/package/libffi/Makefile
+++ b/package/libffi/Makefile
@@ -11,15 +11,11 @@ PKG_DESCR:= Foreign Function Interface library
PKG_SECTION:= libs
PKG_URL:= http://sourceware.org/libffi/
PKG_SITES:= ftp://sourceware.org/pub/libffi/
-
-PKG_SUBPKGS:= LIBFFI LIBFFI_DEV
-PKGSC_LIBFFI_DEV:= devel
-PKGSD_LIBFFI_DEV:= libffi headers
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBFFI_DEV,libffi-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBFFI_DEV},${PKGSC_LIBFFI_DEV}))
+$(eval $(call PKG_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ARGS+= --disable-builddir
@@ -27,8 +23,4 @@ libffi-install:
${INSTALL_DIR} ${IDIR_LIBFFI}/usr/lib
${CP} ${WRKINST}/usr/lib/libffi.so* ${IDIR_LIBFFI}/usr/lib
-libffi-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBFFI_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBFFI_DEV}/usr/include
-
include ${TOPDIR}/mk/pkg-bottom.mk