wok-next view openssl11/receipt @ rev 20130
xget, zsnes: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 13:23:41 2017 +0100 (2017-10-31) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openssl11"
4 VERSION="1.1.0f" # current stable
5 CATEGORY="security"
6 SHORT_DESC="Open source Secure Sockets Layer"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.openssl.org/"
11 TARBALL="openssl-$VERSION.tar.gz"
12 WGET_URL="https://www.openssl.org/source/$TARBALL"
13 # Integrity check: https://www.openssl.org/source/
14 TARBALL_SHA256="12f746f3f2493b2f39da7ecf63d7ee19c6ac9ec6a4fcd8c229da8a522cb12765"
15 TARBALL_SHA1="9e3e02bc8b4965477a7a1d33be1249299a9deb15"
17 BUILD_DEPENDS="perl zlib-dev"
18 SPLIT="libssl11 openssl11 openssl11-dev"
20 compile_rules() {
21 ./config \
22 --prefix=/usr \
23 --libdir=lib \
24 --openssldir=/etc/ssl \
25 -Wa,--noexecstack \
26 shared zlib-dynamic &&
27 make &&
28 make \
29 DESTDIR=$install \
30 MANDIR=/usr/share/man \
31 MANSUFFIX=ssl \
32 install_sw install_ssldirs install_man_docs
33 }
35 testsuite() {
36 readelf -h $install/usr/bin/openssl
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 libssl11)
42 copy libssl.so* libcrypto*.so*
43 CAT="security|OpenSSL libraries"
44 PROVIDE="libcrypto11"
45 ;;
46 openssl11)
47 copy @std @rm
48 DEPENDS="libcrypto11 libssl11"
49 ;;
50 openssl11-dev)
51 copy @dev
52 PROVIDE="libcrypto11-dev"
53 ;;
54 esac
55 TAGS="ssl security"
56 }