wok-6.x view stunnel/receipt @ rev 24313

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 21 10:59:24 2022 +0000 (2022-01-21)
parents e8ada3cab0bf
children 83b97236db32
line source
1 # SliTaz package receipt.
3 PACKAGE="stunnel"
4 VERSION="5.56"
5 CATEGORY="network"
6 SHORT_DESC="A proxy designed to add TLS encryption functionality to existing clients and servers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.stunnel.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
14 DEPENDS="libssl"
15 BUILD_DEPENDS="libwrap-dev openssl-dev"
17 CONFIG_FILES="/etc/stunnel/stunnel.conf"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 mkdir -p $fs/etc/stunnel
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/var $fs
41 cp -a $install/etc/stunnel/stunnel.conf-sample $fs/etc/stunnel/stunnel.conf
42 }