wok rev 13121

Up: tls to 1.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jul 04 21:29:42 2012 +0000 (2012-07-04)
parents 46cf66ac1ca9
children 8eb478641728
files tls/receipt
line diff
     1.1 --- a/tls/receipt	Wed Jul 04 21:26:50 2012 +0000
     1.2 +++ b/tls/receipt	Wed Jul 04 21:29:42 2012 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tls"
     1.7 -VERSION="1.5.0"
     1.8 +VERSION="1.6"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="OpenSSL Tcl extension."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -9,14 +9,11 @@
    1.13  BUILD_DEPENDS="openssl-dev tcl-dev"
    1.14  TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
    1.15  WEB_SITE="http://tls.sourceforge.net/"
    1.16 -WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
    1.17 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -	test -d ${PACKAGE}-${VERSION} || \
    1.23 -	  mv ${PACKAGE}${VERSION%%.[0-9]} ${PACKAGE}-${VERSION}
    1.24 -	
    1.25  	cd $src
    1.26  	./configure --prefix=/usr \
    1.27  	  --with-ssl-dir=/usr \
    1.28 @@ -27,11 +24,10 @@
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	mkdir -p $fs/usr/lib/tls1.50
    1.33 -	cp -a $src/libtls1.50.so $fs/usr/lib/tls1.50
    1.34 -	cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.50
    1.35 -	cp -a $src/tls.tcl $fs/usr/lib/tls1.50
    1.36 +	mkdir -p $fs/usr/lib/tls1.6
    1.37 +	cp -a $src/libtls1.6.so $fs/usr/lib/tls1.6
    1.38 +	cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.6
    1.39 +	cp -a $src/tls.tcl $fs/usr/lib/tls1.6
    1.40  	
    1.41 -	sed -i 's/dir ../dir/' $fs/usr/lib/tls1.50/pkgIndex.tcl
    1.42 -        sed -i 's/tls 1.5/tls 1.50/'    $fs/usr/lib/tls1.50/pkgIndex.tcl
    1.43 +	sed -i 's/dir ../dir/' $fs/usr/lib/tls1.6/pkgIndex.tcl
    1.44  }