wok-next view tls/receipt @ rev 20275

remove samba-pam (again, thank Aleksej)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 10:18:58 2017 +0100 (2017-11-08)
parents 23c3aed67cd9
children d463ecdfa17e
line source
1 # SliTaz package receipt.
3 PACKAGE="tls"
4 VERSION="1.6"
5 CATEGORY="network"
6 SHORT_DESC="OpenSSL Tcl extension."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
10 WEB_SITE="http://tls.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="openssl tcl"
14 BUILD_DEPENDS="openssl-dev tcl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --with-ssl-dir=/usr \
22 --disable-symboles &&
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/tls1.6
30 cp -a $src/libtls1.6.so $fs/usr/lib/tls1.6
31 cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.6
32 cp -a $src/tls.tcl $fs/usr/lib/tls1.6
34 sed -i 's/dir ../dir/' $fs/usr/lib/tls1.6/pkgIndex.tcl
35 }