wok-stable view openssl/receipt @ rev 2580

openssl: basename bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 07 11:38:02 2009 +0000 (2009-04-07)
parents ccf126429a43
children 5962e74255c1
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 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile
19 ./config --prefix=/usr --openssldir=/etc/ssl shared
20 $CONFIGURE_ARGS &&
21 make &&
22 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 # libcryto* have moved to a specific package
33 rm -f $fs/usr/lib/libcrypto*
34 strip -s $fs/usr/bin/* 2>/dev/null
35 }