wok-current view tls/receipt @ rev 24167
Up tazlito (533), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 28 16:40:30 2021 +0000 (2021-12-28) |
parents | c3333f613204 |
children | 5f6c5106b1f5 |
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 cd $src
20 ./configure --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 }