Diff asekey-3.7 with a asekey-3.7-r1
/usr/portage/app-crypt/asekey/asekey-3.7-r1.ebuild 2023-10-09 14:52:28.228368318 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 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 udev |
7 | 7 | |
8 | 8 |
DESCRIPTION="ASEKey USB SIM Card Reader" |
9 | 9 |
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" |
10 | 10 |
SRC_URI="https://dev.gentoo.org/~sam/distfiles/app-crypt/asekey/${P}.tar.bz2" |
11 |
LICENSE="BSD LGPL-2.1" |
|
12 | 11 | |
12 |
LICENSE="BSD LGPL-2.1" |
|
13 | 13 |
SLOT="0" |
14 | 14 |
KEYWORDS="~amd64 ~riscv ~x86" |
15 | 15 | |
16 |
RDEPEND="sys-apps/pcsc-lite[udev] |
|
17 |
virtual/libusb:0" |
|
16 |
RDEPEND=" |
|
17 |
sys-apps/pcsc-lite[udev] |
|
18 |
virtual/libusb:0 |
|
19 |
" |
|
18 | 20 |
DEPEND="${RDEPEND}" |
19 | 21 |
BDEPEND="virtual/pkgconfig" |
20 | 22 | |
21 | 23 |
PATCHES=( |
22 |
"${FILESDIR}/${P}-bundle.patch" |
|
24 |
"${FILESDIR}/asekey-3.7-bundle.patch" |
|
25 |
"${FILESDIR}/asekey-3.7-dont-call-toolchain-cc-directly.patch" |
|
26 |
"${FILESDIR}/asekey-3.7-musl-ushort.patch" |
|
23 | 27 |
) |
24 | 28 | |
25 | 29 |
src_prepare() { |
... | ... | |
30 | 34 |
src_configure() { |
31 | 35 |
econf --with-udev-rules-dir="$(get_udevdir)/rules.d" |
32 | 36 |
} |
37 | ||
38 |
pkg_postinst() { |
|
39 |
udev_reload |
|
40 |
} |
|
41 | ||
42 |
pkg_postrm() { |
|
43 |
udev_reload |
|
44 |
} |