summaryrefslogtreecommitdiff
path: root/package/openssl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/openssl
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index 0ab3c2e7f..fcae8c659 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -10,16 +10,17 @@ PKG_MD5SUM:= e3873edfffc783624cfbdb65e2249cbd
PKG_DESCR:= OpenSSL (Secure Socket Layer) libraries
PKG_SECTION:= libs
PKG_DEPENDS:= zlib
-PKG_BUILDDEP+= zlib
+PKG_BUILDDEP:= zlib
PKG_URL:= http://www.openssl.org/
PKG_SITES:= http://www.openssl.org/source/
-PKG_DESCR_UTIL:= OpenSSL command line tool
-PKG_SECTION_UTIL:= crypto
-PKG_DEPENDS_UTIL:= libopenssl
-PKG_DESCR_DEV:= development files for openssl
-PKG_SECTION_DEV:= devel
-PKG_DEPENDS_DEV:= libopenssl
+PKG_SUBPKGS:= LIBOPENSSL LIBOPENSSL_DEV OPENSSL_UTIL
+PKGSD_OPENSSL_UTIL:= OpenSSL command line tool
+PKGSC_OPENSSL_UTIL:= crypto
+PKGSS_OPENSSL_UTIL:= libopenssl
+PKGSD_LIBOPENSSL_DEV:= development files for openssl
+PKGSC_LIBOPENSSL_DEV:= devel
+PKGSS_LIBOPENSSL_DEV:= libopenssl
PKG_FLAVOURS:= WITH_EC
PKGFD_WITH_EC:= enable Elliptic Curve crypto
@@ -28,8 +29,8 @@ PKGSUB_WITH_EC:= libopenssl
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBOPENSSL,libopenssl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBOPENSSL_DEV,libopenssl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_DEV},${PKG_DESCR_DEV},${PKG_SECTION_DEV}))
-$(eval $(call PKG_template,OPENSSL_UTIL,openssl-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_UTIL},${PKG_DESCR_UTIL},${PKG_SECTION_UTIL}))
+$(eval $(call PKG_template,LIBOPENSSL_DEV,libopenssl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBOPENSSL_DEV},${PKGSD_LIBOPENSSL_DEV},${PKGSC_LIBOPENSSL_DEV}))
+$(eval $(call PKG_template,OPENSSL_UTIL,openssl-util,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENSSL_UTIL},${PKGSD_OPENSSL_UTIL},${PKGSC_OPENSSL_UTIL}))
SUB_INSTALLS-y:=
SUB_INSTALLS-m:=