wok view tls/receipt @ rev 13795

blender: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 05 13:26:25 2013 +0100 (2013-01-05)
parents 6c783361ba07
children 23c3aed67cd9
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 DEPENDS="openssl tcl"
9 BUILD_DEPENDS="openssl-dev tcl-dev"
10 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
11 WEB_SITE="http://tls.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --with-ssl-dir=/usr \
20 --disable-symboles && \
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib/tls1.6
28 cp -a $src/libtls1.6.so $fs/usr/lib/tls1.6
29 cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.6
30 cp -a $src/tls.tcl $fs/usr/lib/tls1.6
32 sed -i 's/dir ../dir/' $fs/usr/lib/tls1.6/pkgIndex.tcl
33 }