wok-6.x view openssl/receipt @ rev 23569
updated python-tweepy (1.10 -> 3.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 09:19:28 2020 +0100 (2020-04-07) |
parents | dad8b5aae26a |
children | 05230b2f15de |
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.2u"
5 CATEGORY="security"
6 SHORT_DESC="Open source Secure Sockets Layer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.openssl.org/"
10 TAGS="ssl security"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://www.openssl.org/source/$TARBALL"
16 DEPENDS="libcrypto libssl"
17 BUILD_DEPENDS="perl zlib-dev"
18 SPLIT="libcrypto libcrypto-dev libssl openssl-dev"
20 # Perl is installed in cross env.
21 case "$ARCH" in
22 arm) BUILD_DEPENDS="" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # MAKEFLAGS make openssl build fail.
29 unset MAKEFLAGS
31 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
32 # marked as not requiring an executable stack (compatibility improvement).
33 case "$ARCH" in
34 arm)
35 # BUG: shared libs are not built
36 ./Configure --prefix=/usr --openssldir=/etc/ssl \
37 shared zlib enable-md2 -Wa,--noexecstack \
38 linux-armv4 &&
39 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile &&
40 make \
41 CC=${HOST_SYSTEM}-gcc \
42 AR="${HOST_SYSTEM}-ar r" \
43 RANLIB=${HOST_SYSTEM}-ranlib ;;
44 i486)
45 MACHINE=i686 \
46 ./config --prefix=/usr --openssldir=/etc/ssl \
47 shared zlib zlib-dynamic enable-md2 -Wa,--noexecstack &&
48 make depend ;;
49 esac &&
50 # Install
51 make INSTALL_PREFIX=$DESTDIR \
52 MANDIR=/usr/share/man CC=${HOST_SYSTEM}-gcc install
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cook_copy_folders etc bin engines
59 }
61 testsuite()
62 {
63 readelf -h $install/usr/bin/openssl
64 }