wok-next annotate openssl/receipt @ rev 28
Add : gtkdialog, openssl, pcre-dev, pkg-config
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:57:20 2007 +0100 (2007-12-18) |
parents | |
children | f4b1c2c6f13a |
rev | line source |
---|---|
pankso@28 | 1 # SliTaz package receipt. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="openssl" |
pankso@28 | 4 VERSION="0.9.8g" |
pankso@28 | 5 CATEGORY="extra" |
pankso@28 | 6 SHORT_DESC="Open source Secure Sockets Layer." |
pankso@28 | 7 MAINTAINER="pankso@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" |
pankso@28 | 11 |
pankso@28 | 12 # Rules to configure and make the package. |
pankso@28 | 13 compile_rules() |
pankso@28 | 14 { |
pankso@28 | 15 cd $src |
pankso@28 | 16 ./config --prefix=/usr --openssldir=/etc/ssl shared |
pankso@28 | 17 $CONFIGURE_ARGS |
pankso@28 | 18 make |
pankso@28 | 19 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install |
pankso@28 | 20 } |
pankso@28 | 21 |
pankso@28 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 23 genpkg_rules() |
pankso@28 | 24 { |
pankso@28 | 25 mkdir -p $fs/usr/lib |
pankso@28 | 26 cp -a $_pkg/etc $fs |
pankso@28 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@28 | 29 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@28 | 30 } |
pankso@28 | 31 |