wok-current view openssl/receipt @ rev 8949

strigi: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 23:37:28 2011 +0100 (2011-03-01)
parents b865aeb61901
children 1aa20c894e36
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.0d"
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 }