wok view openssl/receipt @ rev 7748

Add libtasn1-dev to gnutls-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 20 19:14:47 2010 +0000 (2010-12-20)
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 }