new: migrate even more packages

This commit is contained in:
ngn
2024-07-21 19:37:19 +03:00
parent 44706f4e3d
commit beea0545f8
44 changed files with 526 additions and 0 deletions

3
src/gnutls/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/gnutls/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 3.8.3
First version

25
src/gnutls/pkg.sh Normal file
View File

@ -0,0 +1,25 @@
# general info
NAME="gnutls"
DESC="GNU Transport Layer Security library"
VERSION="3.8.3"
# required files
FILES=("https://www.gnupg.org/ftp/gcrypt/gnutls/v${VERSION%.*}/gnutls-${VERSION}.tar.xz")
HASHES=("269966167fa5bf8bae5f7534bcc3c454")
# install and build depends
DEPENDS=("nettle" "libunistring" "libtasn1" "p11-kit")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--docdir="/usr/share/doc/gnutls-${VERSION}" \
--with-default-trust-store-pkcs11="pkcs11:"
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}