wok view tls/receipt @ rev 17177

Up?slitaz-tools s/gz/bz2
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Sep 26 18:13:35 2014 +0200 (2014-09-26)
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 }