commit 49c937c
chld
·
2026-09-06 01:29:50 +0000 UTC
parent 970b2d4
gnutls: init
4 files changed,
+60,
-1
+1,
-0
1@@ -0,0 +1 @@
2+/gnutls
+1,
-1
1@@ -43,7 +43,7 @@ build(){
2 --without-w32 \
3 --disable-largefile \
4 --enable-static \
5- --without-gnutls || die "configure failed"
6+ --with-gnutls || die "configure failed"
7
8 gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PREFIX" DESTDIR="$PKG" || die "make failed"
9 gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PREFIX" DESTDIR="$PKG" install || die "install failed"
+6,
-0
1@@ -0,0 +1,6 @@
2+name: gnutls
3+description: some gnuslop tls
4+license: GPL-3.0-or-later
5+upstream:
6+version: 3.1.5
7+maintainer:
+52,
-0
1@@ -0,0 +1,52 @@
2+#!/bin/sh -ue
3+NAME=gnutls
4+VERSION=3.1.5
5+RELEASE=1
6+SOURCE="https://ftp.gnu.org/gnu/${NAME}/${NAME}-${VERSION}.tar.xz"
7+
8+build(){
9+ CFLAGS='-static' LDFLAGS='-static' DESTDIR="$PKG" PREFIX="$PREFIX" ./configure --prefix="$PREFIX" \
10+ --bindir=/bin \
11+ --sbindir=/bin \
12+ --libdir=/lib \
13+ --includedir=/include \
14+ --sysconfdir=/etc \
15+ --without-pop \
16+ --without-mailutils \
17+ --without-x \
18+ --without-pgtk \
19+ --without-gnutls \
20+ --without-dbus \
21+ --without-xim \
22+ --without-xaw3d \
23+ --without-gpm \
24+ --without-be-cairo \
25+ --without-be-app \
26+ --without-selinux \
27+ --without-zlib \
28+ --without-xinput2 \
29+ --without-xpm \
30+ --without-jpeg \
31+ --without-tiff \
32+ --without-gif \
33+ --without-png \
34+ --without-rsvg \
35+ --without-webp \
36+ --without-sqlite3 \
37+ --without-lcms2 \
38+ --without-libsystemd \
39+ --disable-shared \
40+ --without-kerberos \
41+ --without-kerberos5 \
42+ --without-sound \
43+ --without-x-toolkit \
44+ --without-w32 \
45+ --disable-largefile \
46+ --enable-static \
47+ --without-gnutls || die "configure failed"
48+
49+ gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PREFIX" DESTDIR="$PKG" || die "make failed"
50+ gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PREFIX" DESTDIR="$PKG" install || die "install failed"
51+}
52+
53+. ${0%/*}/../../libsh/libdmake.sh