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