wok-current annotate openssl/receipt @ rev 12723

fox14: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 05 12:52:37 2012 +0200 (2012-05-05)
parents 1aa20c894e36
children 6c3718ca17b6
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"
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 &&
slaxemulator@12421 30 make INSTALL_PREFIX=$DESTDIR MANDIR=$DESTDIR/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 }