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

Add sqlobject
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 31 11:02:08 2008 +0000 (2008-08-31)
parents 1b129a8fd309
children 0edf9a739bb6
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="0.9.8g"
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 $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 $fs/usr/lib/libcrypto*
33 strip -s $fs/usr/bin/* 2>/dev/null
34 }