summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Scardovi <mscardovi@icloud.com>2022-11-22 15:17:43 +0100
committerJoonas Niilola <juippis@gentoo.org>2022-12-02 09:43:01 +0200
commitd49b6255d163ca2ecd260087451781bbb41a7b90 (patch)
treed7099395b8bddd0148119dd65ab85e6c79e68694 /sys-libs/libchipcard/libchipcard-5.1.6.ebuild
parentsys-libs/gwenhywfar: bump to 5.10.1 (diff)
downloadgentoo-d49b6255d163ca2ecd260087451781bbb41a7b90.tar.gz
gentoo-d49b6255d163ca2ecd260087451781bbb41a7b90.tar.bz2
gentoo-d49b6255d163ca2ecd260087451781bbb41a7b90.zip
sys-libs/libchipcard: bump to 5.1.6
Signed-off-by: Marco Scardovi <mscardovi@icloud.com> Closes: https://github.com/gentoo/gentoo/pull/28375 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-libs/libchipcard/libchipcard-5.1.6.ebuild')
-rw-r--r--sys-libs/libchipcard/libchipcard-5.1.6.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-libs/libchipcard/libchipcard-5.1.6.ebuild b/sys-libs/libchipcard/libchipcard-5.1.6.ebuild
new file mode 100644
index 000000000000..a8aa14efc76f
--- /dev/null
+++ b/sys-libs/libchipcard/libchipcard-5.1.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Library for accessing chip cards via chip card readers (terminals)"
+HOMEPAGE="https://www.aquamaniac.de/rdm/projects/libchipcard"
+SRC_URI="https://www.aquamaniac.de/rdm/attachments/download/382/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="doc examples"
+
+BDEPEND="
+ sys-devel/gettext
+ doc? ( app-doc/doxygen )
+"
+DEPEND="
+ >=sys-apps/pcsc-lite-1.6.2
+ >=sys-libs/gwenhywfar-4.99.22_rc6:=
+ sys-libs/zlib
+ virtual/libintl
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO doc/{CERTIFICATES,CONFIG,IPCCOMMANDS} )
+
+src_configure() {
+ local myeconfargs=(
+ --disable-static
+ --with-docpath=/usr/share/doc/"${PF}"/apidoc
+ $(use_enable doc full-doc)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ einstalldocs
+
+ if use examples; then
+ docinto tutorials
+ dodoc tutorials/*.{c,h,xml} tutorials/README
+ fi
+
+ find "${D}" -name '*.la' -type f -delete || die
+}