wok-next view openssl/receipt @ rev 16967
Add liblouis and liblouis-dev.
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 31 18:56:58 2014 -0300 (2014-07-31) |
parents | 33583de47df5 |
children | 6d335da2aaa5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.1h"
5 CATEGORY="security"
6 SHORT_DESC="Open source Secure Sockets Layer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openssl.org/"
11 WGET_URL="http://www.openssl.org/source/$TARBALL"
12 TAGS="ssl security"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libcrypto libssl"
16 BUILD_DEPENDS="perl zlib-dev"
18 # Perl is installed in cross env.
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # MAKEFLAGS make openssl build fail.
27 unset MAKEFLAGS
29 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
30 # marked as not requiring an executable stack (compatibility improvement).
31 case "$ARCH" in
32 arm)
33 # BUG: shared libs are not built
34 ./Configure --prefix=/usr --openssldir=/etc/ssl \
35 shared zlib enable-md2 -Wa,--noexecstack \
36 linux-armv4 &&
37 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile &&
38 make \
39 CC=${HOST_SYSTEM}-gcc \
40 AR="${HOST_SYSTEM}-ar r" \
41 RANLIB=${HOST_SYSTEM}-ranlib ;;
42 i486)
43 ./config --prefix=/usr --openssldir=/etc/ssl shared zlib \
44 enable-md2 -Wa,--noexecstack &&
45 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile &&
46 make ;;
47 esac &&
48 # Install
49 make INSTALL_PREFIX=$DESTDIR \
50 MANDIR=/usr/share/man CC=${HOST_SYSTEM}-gcc install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib
57 cp -a $install/etc $fs
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/usr/lib/engines $fs/usr/lib
60 }
62 testsuite()
63 {
64 readelf -h $install/usr/bin/openssl
65 }