wok-6.x annotate openssl/receipt @ rev 375
Slitaz-loram*: do not remove itself during install...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 08 13:55:02 2008 +0000 (2008-03-08) |
parents | 1b129a8fd309 |
children | 0edf9a739bb6 |
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@209 | 5 CATEGORY="security" |
pankso@28 | 6 SHORT_DESC="Open source Secure Sockets Layer." |
pascal@62 | 7 MAINTAINER="pascal.bellard@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" |
pascal@62 | 11 DEPENDS="libcrypto" |
pascal@62 | 12 BUILD_DEPENDS="perl" |
pankso@28 | 13 |
pankso@28 | 14 # Rules to configure and make the package. |
pankso@28 | 15 compile_rules() |
pankso@28 | 16 { |
pankso@28 | 17 cd $src |
pankso@28 | 18 ./config --prefix=/usr --openssldir=/etc/ssl shared |
pankso@28 | 19 $CONFIGURE_ARGS |
pankso@28 | 20 make |
pankso@28 | 21 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install |
pankso@28 | 22 } |
pankso@28 | 23 |
pankso@28 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 25 genpkg_rules() |
pankso@28 | 26 { |
pankso@28 | 27 mkdir -p $fs/usr/lib |
pankso@28 | 28 cp -a $_pkg/etc $fs |
pankso@28 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@62 | 31 # libcryto* have moved to a specific package |
pankso@116 | 32 rm -f $fs/usr/lib/libcrypto* |
pankso@28 | 33 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@28 | 34 } |
pankso@28 | 35 |