wok-6.x view tls/receipt @ rev 14719
libsdl: add add-XGetRequest-symbol.patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 13:26:19 2013 +0200 (2013-06-11) |
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 }