# HG changeset patch # User Christopher Rogers # Date 1341437382 0 # Node ID c3333f6132043dd03274172eac1261a32aa7832c # Parent 46cf66ac1ca9eaaeedf2b2a676edd0f61e958d2e Up: tls to 1.6. diff -r 46cf66ac1ca9 -r c3333f613204 tls/receipt --- a/tls/receipt Wed Jul 04 21:26:50 2012 +0000 +++ b/tls/receipt Wed Jul 04 21:29:42 2012 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tls" -VERSION="1.5.0" +VERSION="1.6" CATEGORY="network" SHORT_DESC="OpenSSL Tcl extension." MAINTAINER="erjo@slitaz.org" @@ -9,14 +9,11 @@ BUILD_DEPENDS="openssl-dev tcl-dev" TARBALL="${PACKAGE}${VERSION}-src.tar.gz" WEB_SITE="http://tls.sourceforge.net/" -WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { - test -d ${PACKAGE}-${VERSION} || \ - mv ${PACKAGE}${VERSION%%.[0-9]} ${PACKAGE}-${VERSION} - cd $src ./configure --prefix=/usr \ --with-ssl-dir=/usr \ @@ -27,11 +24,10 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/tls1.50 - cp -a $src/libtls1.50.so $fs/usr/lib/tls1.50 - cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.50 - cp -a $src/tls.tcl $fs/usr/lib/tls1.50 + mkdir -p $fs/usr/lib/tls1.6 + cp -a $src/libtls1.6.so $fs/usr/lib/tls1.6 + cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.6 + cp -a $src/tls.tcl $fs/usr/lib/tls1.6 - sed -i 's/dir ../dir/' $fs/usr/lib/tls1.50/pkgIndex.tcl - sed -i 's/tls 1.5/tls 1.50/' $fs/usr/lib/tls1.50/pkgIndex.tcl + sed -i 's/dir ../dir/' $fs/usr/lib/tls1.6/pkgIndex.tcl }