summaryrefslogtreecommitdiff
path: root/package/polarssl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/polarssl
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/polarssl')
-rw-r--r--package/polarssl/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/package/polarssl/Makefile b/package/polarssl/Makefile
index ade6f273f..69bf76d9f 100644
--- a/package/polarssl/Makefile
+++ b/package/polarssl/Makefile
@@ -11,18 +11,14 @@ PKG_DESCR:= embedded SSL/TLS library
PKG_SECTION:= libs
PKG_URL:= https://polarssl.org/
PKG_SITES:= http://www.openadk.org/distfiles/
+PKG_LIBNAME:= libpolarssl
+PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-gpl.tgz
-PKG_SUBPKGS:= LIBPOLARSSL LIBPOLARSSL_DEV
-
include $(TOPDIR)/mk/package.mk
-PKGSD_LIBPOLARSSL_DEV:= development files for polarssl
-PKGSC_LIBPOLARSSL_DEV:= devel
-
-$(eval $(call PKG_template,LIBPOLARSSL,libpolarssl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBPOLARSSL_DEV,libpolarssl-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBPOLARSSL_DEV},${PKGSC_LIBPOLARSSL_DEV}))
+$(eval $(call PKG_template,LIBPOLARSSL,libpolarssl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIG_STYLE:= manual
ALL_TARGET:= no_test
@@ -32,9 +28,4 @@ libpolarssl-install:
$(CP) $(WRKINST)/usr/lib/libpolarssl.so* \
$(IDIR_LIBPOLARSSL)/usr/lib
-libpolarssl-dev-install:
- $(INSTALL_DIR) $(IDIR_LIBPOLARSSL_DEV)/usr/include
- $(CP) $(WRKINST)/usr/include/* \
- $(IDIR_LIBPOLARSSL_DEV)/usr/include
-
include ${TOPDIR}/mk/pkg-bottom.mk