wok-6.x view openssl/receipt @ rev 15930
Up: cmake (2.8.11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 11:23:36 2014 +0100 (2014-02-22) |
parents | 8f5db627990e |
children | fd812ac90452 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.1a"
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"
14 DEPENDS="libcrypto libssl"
15 BUILD_DEPENDS="perl zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
22 # MAKEFLAGS make openssl build fail.
23 unset MAKEFLAGS
25 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
26 # marked as not requiring an executable stack (compatibility improvement).
27 ./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2 \
28 -Wa,--noexecstack &&
30 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile &&
31 make &&
32 make INSTALL_PREFIX=$DESTDIR MANDIR=$DESTDIR/usr/share/man install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 }