wok-next annotate openssl/receipt @ rev 62
OpenSSL: spin off libcrypto
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 23 17:49:19 2007 +0000 (2007-12-23) |
parents | 5f85fb04f6b8 |
children | 1b129a8fd309 |
rev | line source |
---|---|
pankso@28 | 1 # SliTaz package receipt. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="openssl" |
pankso@28 | 4 VERSION="0.9.8g" |
pankso@28 | 5 CATEGORY="extra" |
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" |
pascal@62 | 11 DEPENDS="libcrypto" |
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 |
pankso@28 | 18 ./config --prefix=/usr --openssldir=/etc/ssl shared |
pankso@28 | 19 $CONFIGURE_ARGS |
pankso@28 | 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@28 | 27 mkdir -p $fs/usr/lib |
pankso@28 | 28 cp -a $_pkg/etc $fs |
pankso@28 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@62 | 31 # libcryto* have moved to a specific package |
pascal@62 | 32 rm -f $fr/usr/lib/libcrypto* |
pankso@28 | 33 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@28 | 34 } |
pankso@28 | 35 |