wok-next diff openssl11/receipt @ rev 20402

Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 05 17:49:11 2017 +0200 (2017-12-05)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openssl11/receipt	Tue Dec 05 17:49:11 2017 +0200
     1.3 @@ -0,0 +1,56 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="openssl11"
     1.7 +VERSION="1.1.0f" # current stable
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="Open source Secure Sockets Layer"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="https://www.openssl.org/"
    1.13 +
    1.14 +TARBALL="openssl-$VERSION.tar.gz"
    1.15 +WGET_URL="https://www.openssl.org/source/$TARBALL"
    1.16 +# Integrity check: https://www.openssl.org/source/
    1.17 +TARBALL_SHA256="12f746f3f2493b2f39da7ecf63d7ee19c6ac9ec6a4fcd8c229da8a522cb12765"
    1.18 +TARBALL_SHA1="9e3e02bc8b4965477a7a1d33be1249299a9deb15"
    1.19 +
    1.20 +BUILD_DEPENDS="perl zlib-dev"
    1.21 +SPLIT="libssl11 openssl11 openssl11-dev"
    1.22 +
    1.23 +compile_rules() {
    1.24 +	./config \
    1.25 +		--prefix=/usr \
    1.26 +		--libdir=lib \
    1.27 +		--openssldir=/etc/ssl \
    1.28 +		-Wa,--noexecstack \
    1.29 +		shared zlib-dynamic &&
    1.30 +	make &&
    1.31 +	make \
    1.32 +		DESTDIR=$install \
    1.33 +		MANDIR=/usr/share/man \
    1.34 +		MANSUFFIX=ssl \
    1.35 +		install_sw install_ssldirs install_man_docs
    1.36 +}
    1.37 +
    1.38 +testsuite() {
    1.39 +	readelf -h $install/usr/bin/openssl
    1.40 +}
    1.41 +
    1.42 +genpkg_rules() {
    1.43 +	case $PACKAGE in
    1.44 +		libssl11)
    1.45 +			copy libssl.so* libcrypto*.so*
    1.46 +			CAT="security|OpenSSL libraries"
    1.47 +			PROVIDE="libcrypto11"
    1.48 +			;;
    1.49 +		openssl11)
    1.50 +			copy @std @rm
    1.51 +			DEPENDS="libcrypto11 libssl11"
    1.52 +			;;
    1.53 +		openssl11-dev)
    1.54 +			copy @dev
    1.55 +			PROVIDE="libcrypto11-dev"
    1.56 +			;;
    1.57 +	esac
    1.58 +	TAGS="ssl security"
    1.59 +}