wok-stable view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="0.9.8g"
5 CATEGORY="extra"
6 SHORT_DESC="Open source Secure Sockets Layer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openssl.org/"
10 WGET_URL="http://www.openssl.org/source/$TARBALL"
11 DEPENDS="libcrypto"
12 BUILD_DEPENDS="perl"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./config --prefix=/usr --openssldir=/etc/ssl shared
19 $CONFIGURE_ARGS
20 make
21 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 # libcryto* have moved to a specific package
32 rm -f $fr/usr/lib/libcrypto*
33 strip -s $fs/usr/bin/* 2>/dev/null
34 }