Verified Commit 6a7eb85c authored by Dhruvin Gandhi's avatar Dhruvin Gandhi
Browse files

main/gnutls: package guile bindings

parent 94c2bd61
Pipeline #126021 failed with stages
in 16 minutes and 45 seconds
......@@ -9,8 +9,8 @@ url="https://www.gnutls.org/"
arch="all"
license="LGPL-2.1-or-later"
checkdepends="diffutils datefudge"
makedepends="nettle-dev zlib-dev libtasn1-dev p11-kit-dev libunistring-dev texinfo"
subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev $pkgname-utils $pkgname-c++:xx"
makedepends="nettle-dev zlib-dev libtasn1-dev p11-kit-dev libunistring-dev texinfo guile-dev"
subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev $pkgname-utils $pkgname-c++:xx $pkgname-guile"
_v=${pkgver%.*}
case $pkgver in
*.*.*.*) _v=${_v%.*};;
......@@ -48,7 +48,6 @@ build() {
--disable-openssl-compatibility \
--disable-rpath \
--disable-static \
--disable-guile \
--disable-valgrind-tests
make
}
......@@ -74,6 +73,14 @@ xx() {
mv "$pkgdir"/usr/lib/lib*xx.so.* "$subpkgdir"/usr/lib/
}
guile() {
pkgdesc="Guile interface to GnuTLS"
options="!strip" # stripping guile objects fails
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share
mv "$pkgdir"/usr/lib/guile "$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/share/guile "$subpkgdir"/usr/share/
}
sha512sums="
f872339df80ec31d292821ff00eaafbe50e0bd4cdbb86e21e4f78541cd0a26d843596d5e69c91de4db8ce7d027fc639ae6462b57d89fb116162ae63c5a97486a gnutls-3.7.6.tar.xz
69b014782ec157c96b39d09dc3ce25443710b6430c3e4420329afbc141dde21a16a9e310c625039babb839c8b231f8cfe9b640eeef2a7b98b3e9fe51a5a379b0 skip-crq.patch
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment