wok-next view tls/receipt @ rev 17138
Add zpaq
author | necrophcodr <tcg.thegamer@gmail.com> |
---|---|
date | Wed Sep 10 10:56:15 2014 +0200 (2014-09-10) |
parents | c3333f613204 |
children | 0c247ee1a841 |
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 }