wok annotate openssl/receipt @ rev 5573
tcc: add cross compilers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 15 16:05:09 2010 +0200 (2010-05-15) |
parents | 4abef41ca3d5 |
children | 2ea5d6f17cd8 |
rev | line source |
---|---|
pankso@28 | 1 # SliTaz package receipt. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="openssl" |
pankso@5286 | 4 VERSION="1.0.0" |
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" |
pankso@4332 | 11 DEPENDS="libcrypto libssl" |
pascal@62 | 12 BUILD_DEPENDS="perl" |
jozee@4970 | 13 TAGS="ssl security" |
pankso@28 | 14 |
pankso@28 | 15 # Rules to configure and make the package. |
pankso@28 | 16 compile_rules() |
pankso@28 | 17 { |
pankso@28 | 18 cd $src |
pascal@2581 | 19 ./config --prefix=/usr --openssldir=/etc/ssl shared |
pascal@2580 | 20 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile |
pascal@2580 | 21 make && |
pankso@28 | 22 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install |
pankso@28 | 23 } |
pankso@28 | 24 |
pankso@28 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 26 genpkg_rules() |
pankso@28 | 27 { |
pankso@4332 | 28 mkdir -p $fs/usr |
pankso@28 | 29 cp -a $_pkg/etc $fs |
pankso@28 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@28 | 31 } |