blob: 97b31af6863b17753eb4b8864960cf444004cadd (
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
|
#!/bin/sh
NAME="libretls"
DESC="port of libtls from libressl to openssl"
MAKEDEPS="make "
DEPS="openssl cacerts "
PKG_VER=3.5.1
SOURCE="https://causal.agency/libretls/libretls-$PKG_VER.tar.gz"
prepare () {
local _current _rev _age
IFS=: read _current _rev _age < LIBTLS_VERSION
printf "%d:%d:%d\n" $(( $_current - 18 )) $_rev $_age > LIBTLS_VERSION
autoreconf
}
build () {
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--sysconfdir=/etc \
--disable-static
make
}
package () {
make DESTDIR=$PKG_DEST install
}
|