wok-6.x annotate stunnel/receipt @ rev 23795
updated zsh (5.7.1 -> 5.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 13:48:01 2020 +0100 (2020-05-22) |
parents | e8ada3cab0bf |
children | 83b97236db32 |
rev | line source |
---|---|
pascal@20711 | 1 # SliTaz package receipt. |
pascal@20711 | 2 |
pascal@20711 | 3 PACKAGE="stunnel" |
Hans-G?nter@23676 | 4 VERSION="5.56" |
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 } |