wok-6.x view tls/receipt @ rev 3023

locale-cs: Up and add desktopbox messages (Thanks Milos)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 12 00:26:08 2009 +0200 (2009-05-12)
parents 3553ec54fcd3
children c3333f613204
line source
1 # SliTaz package receipt.
3 PACKAGE="tls"
4 VERSION="1.5.0"
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="http://ovh.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 test -d ${PACKAGE}-${VERSION} || \
18 mv ${PACKAGE}${VERSION%%.[0-9]} ${PACKAGE}-${VERSION}
20 cd $src
21 ./configure --prefix=/usr \
22 --with-ssl-dir=/usr \
23 --disable-symboles && \
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/tls1.50
31 cp -a $src/libtls1.50.so $fs/usr/lib/tls1.50
32 cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.50
33 cp -a $src/tls.tcl $fs/usr/lib/tls1.50
35 sed -i 's/dir ../dir/' $fs/usr/lib/tls1.50/pkgIndex.tcl
36 sed -i 's/tls 1.5/tls 1.50/' $fs/usr/lib/tls1.50/pkgIndex.tcl
37 }