wok view openssl/receipt @ rev 8302

Fix: check_module.sh (into linux stuff) modified to works with tazwok-experimental
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:51:09 2011 +0100 (2011-02-01)
parents 080293f081ce
children 72de3d65c27c
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.0c"
5 CATEGORY="security"
6 SHORT_DESC="Open source Secure Sockets Layer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openssl.org/"
10 WGET_URL="http://www.openssl.org/source/$TARBALL"
11 DEPENDS="libcrypto libssl"
12 BUILD_DEPENDS="perl zlib-dev"
13 TAGS="ssl security"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # MAKEFLAGS make openssl build fail.
21 unset MAKEFLAGS
23 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
24 # marked as not requiring an executable stack (compatibility improvement).
25 ./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2 \
26 -Wa,--noexecstack &&
28 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile &&
29 make &&
30 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $_pkg/etc $fs
38 cp -a $_pkg/usr/bin $fs/usr
39 }