wok view openssl/receipt @ rev 15090

pinentry: add bdeps...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 21:20:52 2013 +0000 (2013-08-13)
parents 1aa20c894e36
children 6c3718ca17b6
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 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=$DESTDIR MANDIR=$DESTDIR/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 }