wok-current view stunnel/receipt @ rev 24086

libtorrent needs atomic memory access
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 17:20:34 2021 +0000 (2021-07-10)
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 }