wok-6.x annotate openssl/receipt @ rev 6627
Up: atk to 1.32.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 10 04:43:15 2010 +0000 (2010-10-10) |
parents | 2ea5d6f17cd8 |
children | 787bbe00cf9d |
rev | line source |
---|---|
pankso@28 | 1 # SliTaz package receipt. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="openssl" |
slaxemulator@6192 | 4 VERSION="1.0.0a" |
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 |
slaxemulator@6192 | 19 |
slaxemulator@6192 | 20 # fix double free |
slaxemulator@6192 | 21 # see http://marc.info/?l=openssl-dev&m=128118163216952&w=2 |
slaxemulator@6192 | 22 # and http://marc.info/?l=openssl-dev&m=128128256314328&w=2 |
slaxemulator@6192 | 23 patch -p0 -i ../stuff/fix-double-free.patch |
slaxemulator@6390 | 24 ./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2 |
pascal@2580 | 25 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile |
pascal@2580 | 26 make && |
pankso@28 | 27 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install |
pankso@28 | 28 } |
pankso@28 | 29 |
pankso@28 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 31 genpkg_rules() |
pankso@28 | 32 { |
pankso@4332 | 33 mkdir -p $fs/usr |
pankso@28 | 34 cp -a $_pkg/etc $fs |
pankso@28 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 36 } |