wok-4.x annotate openssl/receipt @ rev 3372

Fix:get-opera (v10beta1 released)
author Rohit Joshi <jozee@slitaz.org>
date Thu Jun 11 19:26:27 2009 +0000 (2009-06-11)
parents 5962e74255c1
children 0e294c895140
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"
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
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@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
pankso@116 32 rm -f $fs/usr/lib/libcrypto*
pankso@28 33 strip -s $fs/usr/bin/* 2>/dev/null
pankso@28 34 }
pankso@28 35