SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tls"

# SliTaz package receipt.

PACKAGE="tls"
VERSION="1.5.0"
CATEGORY="network"
SHORT_DESC="OpenSSL Tcl extension."
MAINTAINER="erjo@slitaz.org"
DEPENDS="openssl tcl"
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"

# 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 \
      --disable-symboles && \                                                        
    make  
}

# 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
    
    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
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)