wok-stable view tls/receipt @ rev 9052
qjackctl: need make -j1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 11:23:10 2011 +0100 (2011-03-04) |
parents | 3553ec54fcd3 |
children |
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 }