summaryrefslogtreecommitdiff
blob: 027fbb54a8906cb3f640cf559ab05d0843be07f9 (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
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit eutils unpacker

DESCRIPTION="Middleware do Cartao de Cidadao"
HOMEPAGE="https://www.cartaodecidadao.pt"
LICENSE="Licence-Cartao-Cidadao-App"

SRC_URI="https://www.autenticacao.gov.pt/documents/10179/11962/pteid-mw_ubuntu14_amd64.deb/e89b6245-7195-46f3-8635-d703ff9c02f6"

SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="sys-apps/debianutils"

RDEPEND="
	app-crypt/ccid
	app-text/poppler[qt5]
	dev-libs/openssl
	dev-libs/xerces-c
	dev-libs/xml-security-c
	>=dev-qt/qtcore-5.5.0
	>=dev-qt/qtgui-5.0.2
	>=dev-qt/qtnetwork-5.0.2
	>=dev-qt/qtprintsupport-5.0.2
	>=dev-qt/qtwidgets-5.2.0
	media-libs/jasper
	net-misc/curl
	sys-apps/pcsc-lite
	sys-apps/pcsc-tools
	virtual/jre
"

S="${WORKDIR}"
DESTDIR="${D}"

src_unpack() {
	unpack_deb ${A}
}

src_install() {
	cp -R "${WORKDIR}/usr" "${D}" || die "install failed!"
}