wok-next annotate openssl/receipt @ rev 8486
Up: openssl to 1.0.0d.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 08 16:00:18 2011 +0000 (2011-02-08) |
parents | b865aeb61901 |
children | 1aa20c894e36 |
rev | line source |
---|---|
pankso@28 | 1 # SliTaz package receipt. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="openssl" |
slaxemulator@8486 | 4 VERSION="1.0.0d" |
pankso@209 | 5 CATEGORY="security" |
pankso@28 | 6 SHORT_DESC="Open source Secure Sockets Layer." |
pascal@62 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@28 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@28 | 9 WEB_SITE="http://www.openssl.org/" |
pankso@28 | 10 WGET_URL="http://www.openssl.org/source/$TARBALL" |
pankso@4332 | 11 DEPENDS="libcrypto libssl" |
slaxemulator@6390 | 12 BUILD_DEPENDS="perl zlib-dev" |
jozee@4970 | 13 TAGS="ssl security" |
pankso@28 | 14 |
pankso@28 | 15 # Rules to configure and make the package. |
pankso@28 | 16 compile_rules() |
pankso@28 | 17 { |
pankso@28 | 18 cd $src |
gokhlayeh@7705 | 19 |
gokhlayeh@7705 | 20 # MAKEFLAGS make openssl build fail. |
gokhlayeh@7705 | 21 unset MAKEFLAGS |
slaxemulator@6192 | 22 |
gokhlayeh@7705 | 23 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be |
gokhlayeh@7705 | 24 # marked as not requiring an executable stack (compatibility improvement). |
gokhlayeh@7705 | 25 ./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2 \ |
gokhlayeh@7705 | 26 -Wa,--noexecstack && |
gokhlayeh@7705 | 27 |
gokhlayeh@7705 | 28 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile && |
pascal@2580 | 29 make && |
pankso@28 | 30 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install |
pankso@28 | 31 } |
pankso@28 | 32 |
pankso@28 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 34 genpkg_rules() |
pankso@28 | 35 { |
pankso@4332 | 36 mkdir -p $fs/usr |
pankso@28 | 37 cp -a $_pkg/etc $fs |
pankso@28 | 38 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 39 } |