summaryrefslogtreecommitdiff
path: root/package/libffi/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
commit98b7adfbd06f0f6bd99ca4805ca34250ee027fa1 (patch)
treea68345ba8ba7ee532e4b7426cadad31d7add24c0 /package/libffi/Makefile
parent09d28322f4828a387eeee03d303c833eab8828c5 (diff)
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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