You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-libs/libchipcard/libchipcard-5.0.4.ebuild

46 lines
1.1 KiB

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Library for accessing chip cards via chip card readers (terminals)"
HOMEPAGE="https://www.aquamaniac.de/aqbanking/"
SRC_URI="https://www.aquamaniac.de/sites/download/download.php?package=02&release=200&file=01&dummy=${P}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
IUSE="doc examples"
RDEPEND="
>=sys-apps/pcsc-lite-1.6.2
sys-libs/gwenhywfar:=
sys-libs/zlib:=
virtual/libintl"
DEPEND="${RDEPEND}
sys-devel/gettext
doc? ( app-doc/doxygen )"
DOCS=( AUTHORS ChangeLog NEWS README TODO doc/{CERTIFICATES,CONFIG,IPCCOMMANDS} )
src_configure() {
econf \
--disable-dependency-tracking \
--disable-static \
$(use_enable doc full-doc) \
--with-docpath=/usr/share/doc/${PF}/apidoc
}
src_install() {
emake DESTDIR="${D}" install || die
einstalldocs
if use examples; then
docinto tutorials
dodoc tutorials/*.{c,h,xml} tutorials/README
fi
find "${D}" -name '*.la' -exec rm -f {} +
}