wok-4.x view openssl/receipt @ rev 3440

Add slitaz-dev-tools (tazdev replace all scripts on tank)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 14 02:26:59 2009 +0200 (2009-06-14)
parents 5962e74255c1
children 0e294c895140
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="0.9.8k"
5 CATEGORY="security"
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 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile
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 $fs/usr/lib/libcrypto*
33 strip -s $fs/usr/bin/* 2>/dev/null
34 }