wok-current annotate stunnel/receipt @ rev 23590
created recipe for python-pysol-cards
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 10:28:19 2020 +0100 (2020-04-08) |
parents | f3c3948830ff |
children | 98eeff491f3e |
rev | line source |
---|---|
pascal@20711 | 1 # SliTaz package receipt. |
pascal@20711 | 2 |
pascal@20711 | 3 PACKAGE="stunnel" |
Hans-G?nter@21979 | 4 VERSION="5.55" |
pascal@20711 | 5 CATEGORY="network" |
Hans-G?nter@21979 | 6 SHORT_DESC="A proxy designed to add TLS encryption functionality to existing clients and servers." |
pascal@20711 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20711 | 8 LICENSE="GPL2" |
Hans-G?nter@21979 | 9 WEB_SITE="https://www.stunnel.org/" |
Hans-G?nter@21979 | 10 |
pascal@20711 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20711 | 12 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
pascal@20711 | 13 |
pascal@20711 | 14 DEPENDS="libssl" |
Hans-G?nter@21979 | 15 BUILD_DEPENDS="libwrap-dev openssl-dev" |
Hans-G?nter@21979 | 16 |
Hans-G?nter@21979 | 17 CONFIG_FILES="/etc/stunnel/stunnel.conf" |
pascal@20711 | 18 |
pascal@20711 | 19 # Rules to configure and make the package. |
pascal@20711 | 20 compile_rules() |
pascal@20711 | 21 { |
Hans-G?nter@21979 | 22 ./configure \ |
Hans-G?nter@21979 | 23 --prefix=/usr \ |
Hans-G?nter@21979 | 24 --sysconfdir=/etc \ |
Hans-G?nter@21979 | 25 --localstatedir=/var \ |
Hans-G?nter@21979 | 26 --mandir=/usr/share/man \ |
pascal@20711 | 27 $CONFIGURE_ARGS && |
pascal@20711 | 28 make && |
pascal@20711 | 29 make DESTDIR=$DESTDIR install |
pascal@20711 | 30 } |
pascal@20711 | 31 |
pascal@20711 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20711 | 33 genpkg_rules() |
pascal@20711 | 34 { |
Hans-G?nter@21979 | 35 mkdir -p $fs/usr |
Hans-G?nter@21979 | 36 mkdir -p $fs/etc/stunnel |
Hans-G?nter@21979 | 37 |
Hans-G?nter@21979 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21979 | 39 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@21979 | 40 cp -a $install/var $fs |
Hans-G?nter@21979 | 41 cp -a $install/etc/stunnel/stunnel.conf-sample $fs/etc/stunnel/stunnel.conf |
pascal@20711 | 42 } |