wok-current view openssl/receipt @ rev 2581

openssl: basename bug workaround (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 07 12:51:52 2009 +0000 (2009-04-07)
parents 0edf9a739bb6
children 99ea393f53c2
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 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 }