Update package version to 3.8.11
This commit is contained in:
@@ -1,8 +1,25 @@
|
|||||||
name: gnutls
|
name: gnutls
|
||||||
description: A secure communications library
|
description: A secure communications library
|
||||||
version: 3.8.10
|
version: 3.8.11
|
||||||
|
revision: 1
|
||||||
url: https://www.gnutls.org/
|
url: https://www.gnutls.org/
|
||||||
license: GPL3-or-later and LGPL2.1-or-later
|
license: GPL3-or-later and LGPL2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["brotli","gcc-libs", "glibc", "gmp", "libidn2", "p11-kit", "libtasn1", "libunistring", "nettle", "zlib", "zstd"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- brotli
|
||||||
|
- gcc-libs
|
||||||
|
- glibc
|
||||||
|
- gmp
|
||||||
|
- libidn2
|
||||||
|
- p11-kit
|
||||||
|
- libtasn1
|
||||||
|
- libunistring
|
||||||
|
- nettle
|
||||||
|
- zlib
|
||||||
|
- zstd
|
||||||
|
downloads:
|
||||||
|
- url: https://www.gnupg.org/ftp/gcrypt/gnutls/v${BPM_PKG_VERSION%.*}/gnutls-${BPM_PKG_VERSION}.tar.xz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 91bd23c4a86ebc6152e81303d20cf6ceaeb97bc8f84266d0faec6e29f17baa20
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://www.gnupg.org/ftp/gcrypt/gnutls/v${BPM_PKG_VERSION%.*}/gnutls-${BPM_PKG_VERSION}.tar.xz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
@@ -30,5 +20,6 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING.LESSERv2 "$BPM_OUTPUT"/usr/share/licenses/gnutls/COPYING.LESSERv2
|
install -Dm644 "$BPM_SOURCE"/COPYING.LESSERv2 "$BPM_OUTPUT"/usr/share/licenses/gnutls/COPYING.LESSERv2
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user