diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-19 09:40:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-19 09:40:24 +0200 |
commit | 133d2fb983c1276d5c1ce348e0e50701569813c2 (patch) | |
tree | f6338fd4b8bc4c6984c74c8a4cde30974f358a6b /main/tcl-tls/APKBUILD | |
parent | 4536dcaebf106d577cf4f7cb1f7742e883e590d0 (diff) | |
download | aports-133d2fb983c1276d5c1ce348e0e50701569813c2.tar.bz2 aports-133d2fb983c1276d5c1ce348e0e50701569813c2.tar.xz |
testing/tls: rename to tcl-tls and move to main
Diffstat (limited to 'main/tcl-tls/APKBUILD')
-rw-r--r-- | main/tcl-tls/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/main/tcl-tls/APKBUILD b/main/tcl-tls/APKBUILD new file mode 100644 index 0000000000..ebadb2eae1 --- /dev/null +++ b/main/tcl-tls/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=tcl-tls +pkgver=1.6.4 +pkgrel=0 +pkgdesc="OpenSSL extension to Tcl" +url="http://tls.sourceforge.net/" +arch="all" +license="BSD" +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/tls${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="60df64be8d5c667d07709aff1818e03e tls1.6.4-src.tar.gz" +sha256sums="0cd2c5552244c55747092e30ace17eb728d130c9a2bd489b26fc7c9f3669e4b8 tls1.6.4-src.tar.gz" +sha512sums="b0a102f0fb8ff9e4754af8bc4e9c5a49f4118f474ade4a4147df80a04270a7538b6cebf9f469589070f60fe82ff4e382f26e0eacd9f428e455d581586efc264a tls1.6.4-src.tar.gz" |