wok-6.x view openssl/receipt @ rev 19700

Mv grub/stuff/splash.xpm.gz to slitaz-configs to have a splash image on HD install
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 14 11:23:11 2017 +0100 (2017-02-14)
parents 7a0e28a1e1d9
children 90fcaa823068
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.2k"
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 ./config --prefix=/usr --openssldir=/etc/ssl \
46 shared zlib zlib-dynamic enable-md2 -Wa,--noexecstack &&
47 make depend ;;
48 esac &&
49 # Install
50 make INSTALL_PREFIX=$DESTDIR \
51 MANDIR=/usr/share/man CC=${HOST_SYSTEM}-gcc install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 cook_copy_folders etc bin engines
58 }
60 testsuite()
61 {
62 readelf -h $install/usr/bin/openssl
63 }