wok-next annotate tls/receipt @ rev 20303

gnustep-back: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 11:17:33 2017 +0100 (2017-11-10)
parents 23c3aed67cd9
children d463ecdfa17e
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 {
al@19675 19 ./configure \
al@19675 20 --prefix=/usr \
al@19675 21 --with-ssl-dir=/usr \
al@19675 22 --disable-symboles &&
al@19675 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
al@19675 33
slaxemulator@13121 34 sed -i 's/dir ../dir/' $fs/usr/lib/tls1.6/pkgIndex.tcl
erjo@1863 35 }