blob: c92ae21b062bb5c21d9915d9674baa4d3773f68f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_P="${P/_rc/rc}"
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/229/${MY_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} )
S="${WORKDIR}/${MY_P}"
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
}
|