From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/libretls/libretls.xibuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repo/libretls/libretls.xibuild (limited to 'repo/libretls/libretls.xibuild') diff --git a/repo/libretls/libretls.xibuild b/repo/libretls/libretls.xibuild new file mode 100644 index 0000000..97b31af --- /dev/null +++ b/repo/libretls/libretls.xibuild @@ -0,0 +1,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 +} -- cgit v1.2.1