wok-current annotate tls/receipt @ rev 19949

memtest: add @cmdlinefile support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 07 21:49:40 2017 +0200 (2017-05-07)
parents c3333f613204
children 5f6c5106b1f5
rev   line source
erjo@1863 1 # SliTaz package receipt.
erjo@1863 2
erjo@1863 3 PACKAGE="tls"
slaxemulator@13121 4 VERSION="1.6"
taziden@1986 5 CATEGORY="network"
erjo@1863 6 SHORT_DESC="OpenSSL Tcl extension."
erjo@1863 7 MAINTAINER="erjo@slitaz.org"
pascal@15601 8 LICENSE="MIT"
erjo@1863 9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
erjo@1863 10 WEB_SITE="http://tls.sourceforge.net/"
slaxemulator@13121 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@1863 12
pascal@15601 13 DEPENDS="openssl tcl"
pascal@15601 14 BUILD_DEPENDS="openssl-dev tcl-dev"
pascal@15601 15
erjo@1863 16 # Rules to configure and make the package.
erjo@1863 17 compile_rules()
erjo@1863 18 {
erjo@1863 19 cd $src
erjo@1863 20 ./configure --prefix=/usr \
erjo@1863 21 --with-ssl-dir=/usr \
erjo@1863 22 --disable-symboles && \
erjo@1863 23 make
erjo@1863 24 }
erjo@1863 25
erjo@1863 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1863 27 genpkg_rules()
erjo@1863 28 {
slaxemulator@13121 29 mkdir -p $fs/usr/lib/tls1.6
slaxemulator@13121 30 cp -a $src/libtls1.6.so $fs/usr/lib/tls1.6
slaxemulator@13121 31 cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.6
slaxemulator@13121 32 cp -a $src/tls.tcl $fs/usr/lib/tls1.6
erjo@1863 33
slaxemulator@13121 34 sed -i 's/dir ../dir/' $fs/usr/lib/tls1.6/pkgIndex.tcl
erjo@1863 35 }