wok-next annotate openssl/receipt @ rev 4332
Split openssl (libssl) save spave on core LiveCD
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 30 13:31:35 2009 +0200 (2009-09-30) |
parents | 99ea393f53c2 |
children | 088867d7c05d |
rev | line source |
---|---|
pankso@28 | 1 # SliTaz package receipt. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="openssl" |
pankso@2591 | 4 VERSION="0.9.8k" |
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" |
pascal@62 | 12 BUILD_DEPENDS="perl" |
pankso@28 | 13 |
pankso@28 | 14 # Rules to configure and make the package. |
pankso@28 | 15 compile_rules() |
pankso@28 | 16 { |
pankso@28 | 17 cd $src |
pascal@2581 | 18 ./config --prefix=/usr --openssldir=/etc/ssl shared |
pascal@2580 | 19 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile |
pascal@2580 | 20 make && |
pankso@28 | 21 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install |
pankso@28 | 22 } |
pankso@28 | 23 |
pankso@28 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 25 genpkg_rules() |
pankso@28 | 26 { |
pankso@4332 | 27 mkdir -p $fs/usr |
pankso@28 | 28 cp -a $_pkg/etc $fs |
pankso@28 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 30 } |