wok-next view tls/receipt @ rev 19994

Up qtwebkit, smplayer, nomacs, qedit
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 15:48:04 2017 +0200 (2017-10-20)
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 }