wok-stable view openssl/receipt @ rev 7395
flam3-dev: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 26 13:29:45 2010 +0100 (2010-11-26) |
parents | 787bbe00cf9d |
children | 080293f081ce |
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.0b"
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 zlib-dev"
13 TAGS="ssl security"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 ./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2
21 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile
22 make &&
23 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/bin $fs/usr
32 }