new: migrate even more packages
This commit is contained in:
3
src/gnutls/.gitignore
vendored
Normal file
3
src/gnutls/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/gnutls/changes.md
Normal file
2
src/gnutls/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 3.8.3
|
||||
First version
|
25
src/gnutls/pkg.sh
Normal file
25
src/gnutls/pkg.sh
Normal 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}"
|
||||
}
|
Reference in New Issue
Block a user