Commit 1c4a49fc authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

testing/tls: new aport

parent 772f725e
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=tls
pkgver=1.6
pkgrel=0
pkgdesc="OpenSSL extension to Tcl"
url="http://tls.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev="tcl-dev openssl-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/tls/tls/$pkgver/tls$pkgver-src.tar.gz"
_builddir="$srcdir/${pkgname}${pkgver}"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-threads \
--enable-shared \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="eb326ff9e6fc3b9885aa5c72fb8df3bf tls1.6-src.tar.gz"
sha256sums="adec50143a9ad634a671d24f7c7bbf2455487eb5f12d290f41797c32a98b93f3 tls1.6-src.tar.gz"
sha512sums="beaca2653a11924f022e28254cef5071ecb8ab2e2355496d278fcab1bdcc46424aa58d2fe176aea26ec4fbe4416a912b5af8e8e69571c8a5301b7921ecf48383 tls1.6-src.tar.gz"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment