aboutsummaryrefslogtreecommitdiffstats
path: root/main/tcl-tls/APKBUILD
blob: 18f97c9ea3537c4abba7d3c648d33a6fb05fc767 (plain) (blame)
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
36
37
38
39
# Contributor: Emmanuel Frecon <efrecon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tcl-tls
pkgver=1.7.16
pkgrel=0
pkgdesc="OpenSSL extension to Tcl"
url="https://core.tcl.tk/tcltls/"
arch="all"
license="BSD"
depends=""
depends_dev="tcl-dev openssl-dev"
makedepends="$depends_dev"
install=""
subpackages=""
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="f63b885dbfaec5d9ae811c126bd0ff253787effd7b053282b9ee566e9fae54df940bc058a6c3dd22e31fcb9ec6ae1b286aa40efd69c3f01f5a3014aada730ab1  tcltls-1.7.16.tar.gz"