Сравнение asedriveiiie-serial-3.5 с dotnet-sdk-9.0

/usr/portage/virtual/dotnet-sdk/dotnet-sdk-9.0.ebuild 2024-12-25 14:59:52.831270184 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2024 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
DESCRIPTION="ASEDriveIIIe Serial Card Reader"
7
HOMEPAGE="https://www.athena-scs.com"
8
SRC_URI="http://www.athena-scs.com/downloads/${P}.tar.bz2"
6
DESCRIPTION="Virtual for .NET SDK"
9 7

  
10
LICENSE="BSD"
11
SLOT="0"
12
KEYWORDS="~amd64 ~x86"
8
SLOT="${PV}"
9
KEYWORDS="amd64 arm arm64"
13 10

  
14
RDEPEND=">=sys-apps/pcsc-lite-1.3.0"
15
DEPEND="${RDEPEND}"
16
BDEPEND="virtual/pkgconfig"
17

  
18
src_install() {
19
	default
20

  
21
	local conf="/etc/reader.conf.d/${PN}.conf"
22

  
23
	insinto "$(dirname "${conf}")"
24
	newins "etc/reader.conf" "$(basename "${conf}")"
25
}
26

  
27
pkg_postinst() {
28
	elog "NOTICE:"
29
	elog "1. Update ${conf} file"
30
	elog "2. Run update-reader.conf, yes this is a command..."
31
	elog "3. Restart pcscd"
32
}
33

  
34
pkg_postrm() {
35
	#
36
	# Without this, pcscd will not start next time.
37
	#
38
	local conf="/etc/reader.conf.d/${PN}.conf"
39
	if ! [ -f "$(grep LIBPATH "${conf}" | sed 's/LIBPATH *//' | sed 's/ *$//g' | head -n 1)" ]; then
40
		rm "${conf}"
41
		update-reader.conf
42
		elog "NOTICE:"
43
		elog "You need to restart pcscd"
44
	fi
45
}
11
RDEPEND="
12
	|| (
13
		dev-dotnet/dotnet-sdk-bin:${SLOT}
14
		dev-dotnet/dotnet-sdk:${SLOT}
15
	)
16
"
Спасибо!