aboutsummaryrefslogtreecommitdiffstats
path: root/main/tcl-tls/APKBUILD
blob: 44ffcc7da0b4a7b66caf80b2f62185b9a90da493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Emmanuel Frecon <efrecon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tcl-tls
pkgver=1.7.18
pkgrel=0
pkgdesc="OpenSSL extension to Tcl"
url="https://core.tcl.tk/tcltls/"
arch="all"
license="TCL"
makedepends="tcl-dev openssl-dev"
source="https://core.tcl.tk/tcltls/uv/tcltls-$pkgver.tar.gz"

builddir="$srcdir/tcltls-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--enable-shared \
		--with-ssl-dir=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="0bad4f116e09295e6eb6eb8d6f050342ff4378edd2aba14dd21704506b730d5155a405bb02e944cacfed9d86dcad09d96b59ca1e3d4fe8dbd11091c019f8400a  tcltls-1.7.18.tar.gz"