wok-next view openssl/receipt @ rev 5880
nss_ldap: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 21 09:13:33 2010 +0200 (2010-07-21) |
parents | 4abef41ca3d5 |
children | 2ea5d6f17cd8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.0"
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 libssl"
12 BUILD_DEPENDS="perl"
13 TAGS="ssl security"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./config --prefix=/usr --openssldir=/etc/ssl shared
20 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile
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
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 }