Diff ifd-gempc-1.0.7 with a ifd-gempc-1.0.8
/usr/portage/sys-apps/ifd-gempc/ifd-gempc-1.0.8.ebuild 2023-10-09 14:52:35.380368499 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit toolchain-funcs |
7 | 7 | |
8 | 8 |
DESCRIPTION="GemCore based PC/SC reader drivers for pcsc-lite" |
9 | 9 |
HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC" |
10 |
SRC_URI="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/${P}.tar.gz" |
|
11 | ||
10 | 12 |
LICENSE="GPL-2 BSD" |
11 |
KEYWORDS="~amd64 ~ppc ~x86" |
|
12 | 13 |
SLOT="0" |
13 |
SRC_URI="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/${P}.tar.gz" |
|
14 |
IUSE="" |
|
15 |
RDEPEND=">=sys-apps/pcsc-lite-1.2.9_beta7 |
|
16 |
virtual/libusb:0" |
|
14 |
KEYWORDS="~amd64 ~ppc ~x86" |
|
15 | ||
16 |
RDEPEND=" |
|
17 |
>=sys-apps/pcsc-lite-1.2.9_beta7 |
|
18 |
virtual/libusb:0 |
|
19 |
" |
|
17 | 20 |
DEPEND="${RDEPEND}" |
18 | 21 |
BDEPEND="virtual/pkgconfig" |
19 | 22 | |
20 |
DOCS=( |
|
21 |
README |
|
22 |
README.410 |
|
23 |
README.430 |
|
24 |
) |
|
23 |
DOCS=( README README.410 README.430 ) |
|
25 | 24 | |
26 | 25 |
src_compile() { |
27 | 26 |
emake CC="$(tc-getCC)" |
... | ... | |
33 | 32 | |
34 | 33 |
local pcscdir="$($(tc-getPKG_CONFIG) --variable=usbdropdir libpcsclite)" |
35 | 34 |
local conf="/etc/reader.conf.d/${PN}.conf" |
36 |
dodir "$(dirname "${conf}")" |
|
35 | ||
37 | 36 |
insinto "$(dirname "${conf}")" |
38 | 37 |
newins "${FILESDIR}/reader.conf" "$(basename "${conf}")" |
39 | 38 |
sed -e "s:%PCSC_DRIVERS_DIR%:${pcscdir}:g" -e "s:%libGemPC410%:libGemPC410.so.${PV}:g" -i "${D}${conf}" |