wok-next view openssl/receipt @ rev 12253

Add tazbug (1.0) - Ready for production and so in core
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 10 12:57:21 2012 +0200 (2012-04-10)
parents 72de3d65c27c
children 8f5db627990e
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.0g"
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 }