summaryrefslogtreecommitdiff
path: root/app-misc/libdatovka
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-11 07:02:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-11 07:02:28 +0100
commit068424b26532f3551a81421a9be67ed206e5c11a (patch)
tree583b8d979899a463a4ef5b26d3d49e85df987623 /app-misc/libdatovka
parentd162ba1860a88062f4cd61f8b52fc303ba0b2991 (diff)
gentoo resync : 11.08.2021
Diffstat (limited to 'app-misc/libdatovka')
-rw-r--r--app-misc/libdatovka/Manifest3
-rw-r--r--app-misc/libdatovka/libdatovka-0.1.2.ebuild55
-rw-r--r--app-misc/libdatovka/metadata.xml10
3 files changed, 68 insertions, 0 deletions
diff --git a/app-misc/libdatovka/Manifest b/app-misc/libdatovka/Manifest
new file mode 100644
index 000000000000..042c3c57c70c
--- /dev/null
+++ b/app-misc/libdatovka/Manifest
@@ -0,0 +1,3 @@
+DIST libdatovka-0.1.2.tar.xz 672348 BLAKE2B 34fd0e3651fd468c96c99d261b199cb25b5d6ac46ae19f96b29c62037acdd7a0a053a5098f317da2dc31b27df7879839163dfe1a109877ed61880723b429a626 SHA512 2c9bf9f7a2166582d8757b1811031cc3501872baad1ec901799253036bbf5e33a059cd3310e6798e4e248b41c92f4775ab3fad90a97648eee5afece8203bc827
+EBUILD libdatovka-0.1.2.ebuild 1159 BLAKE2B bca1a3d6802b5dfe1342c2fd1b0b49b4c572b19c37d3c1bd9ba9f011806c9bb6e7a8e3695fa2518756ee86ed1460e01a7aa375e52e4662dd59fce1caf9878804 SHA512 b6d9e817324bcdb7d63e46f879c68edf2eff5f3c0ece4fcb19fd35a1c9ad02c5b1d8e571cce0c19fafadfe2be5a4250f0057caec9187bf8125163c4ab299443e
+MISC metadata.xml 282 BLAKE2B 475ee32102f19e43243308b8fd5ce381a8c9f74fb0ce89aa79b445ab9e999ff22112f31fb4ac53c737cbaf2604faff9ea0b0710afd59cc045a69a35571b6cb2b SHA512 34227a31d1d8f034578ede386f9de6909230dedb6e84388a0dcfed9704602e28f2a65dd5829e9718f3b5ac3694fb302e22f963ecb19928fb8d65a7de11bf8201
diff --git a/app-misc/libdatovka/libdatovka-0.1.2.ebuild b/app-misc/libdatovka/libdatovka-0.1.2.ebuild
new file mode 100644
index 000000000000..456af2ddfada
--- /dev/null
+++ b/app-misc/libdatovka/libdatovka-0.1.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Client library for accessing ISDS SOAP services"
+HOMEPAGE="https://www.datovka.cz/cs/pages/libdatovka.html"
+SRC_URI="https://secure.nic.cz/files/datove_schranky/${PN}/${P}.tar.xz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="+curl debug doc nls openssl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ curl? ( net-misc/curl[ssl] )
+ doc? (
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ )
+ openssl? ( dev-libs/openssl:= )
+ !openssl? (
+ app-crypt/gnupg
+ app-crypt/gpgme
+ dev-libs/libgcrypt:=
+ )"
+DEPEND="${RDEPEND}
+ test? ( net-libs/gnutls )"
+BDEPEND="
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ local myeconfargs=(
+ --disable-fatalwarnings
+ --disable-static
+ $(use_with curl libcurl)
+ $(use_enable curl curlreauthorizationbug)
+ $(use_enable doc)
+ $(use_enable debug)
+ $(use_enable nls)
+ $(use_enable openssl openssl-backend)
+ $(use_enable test)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/app-misc/libdatovka/metadata.xml b/app-misc/libdatovka/metadata.xml
new file mode 100644
index 000000000000..6c412df331b2
--- /dev/null
+++ b/app-misc/libdatovka/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>amynka@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="openssl">Use openssl backend</flag>
+ </use>
+</pkgmetadata>