summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/cartao-cidadao-app/Manifest1
-rw-r--r--app-misc/cartao-cidadao-app/cartao-cidadao-app-1.61.0.ebuild56
-rw-r--r--app-misc/cartao-cidadao-app/metadata.xml8
3 files changed, 65 insertions, 0 deletions
diff --git a/app-misc/cartao-cidadao-app/Manifest b/app-misc/cartao-cidadao-app/Manifest
new file mode 100644
index 0000000..24c14af
--- /dev/null
+++ b/app-misc/cartao-cidadao-app/Manifest
@@ -0,0 +1 @@
+DIST 013924f5-dee7-4eeb-ac82-ef81e3db1dec 1248902 SHA256 8f5f901f632f66f9bcaa370aeacb1394824c913d8ecb0d6a1275050541ec6730 SHA512 98ad0b7052502be983040c1c6599f2c8793e4162f3becde95a7597fc89d6ed1108b9d77ae11355f48c8c74760ff884f4fb3843e3387307d562bac1f38402d610 WHIRLPOOL ee43c48b9883edbda45080eb774ea0b4f7495e846b436ba77abbc8c7e9f530c6372d101b09a4fbfe4d6ef99aed639c0faee2df19863ad30cf187f64a2e2ba127
diff --git a/app-misc/cartao-cidadao-app/cartao-cidadao-app-1.61.0.ebuild b/app-misc/cartao-cidadao-app/cartao-cidadao-app-1.61.0.ebuild
new file mode 100644
index 0000000..1ad6dfa
--- /dev/null
+++ b/app-misc/cartao-cidadao-app/cartao-cidadao-app-1.61.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils unpacker versionator
+
+DESCRIPTION="Middleware do Cartao de Cidadao"
+HOMEPAGE="https://www.cartaodecidadao.pt"
+LICENSE="Licence-Cartao-Cidadao-App"
+
+SRC_URI="amd64? ( https://www.autenticacao.gov.pt/documents/10179/11962/Aplica%C3%A7%C3%A3o+do+Cart%C3%A3o+de+Cidad%C3%A3o+%28Linux+-+Ubuntu+-+64+bits%29%20%28v.1.61.0%29%20Jan+2016/013924f5-dee7-4eeb-ac82-ef81e3db1dec )"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ app-crypt/ccid
+ dev-libs/openssl
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ media-libs/jasper
+ sys-apps/pcsc-lite
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+DESTDIR="${D}"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_install() {
+ cp -R "${WORKDIR}/usr" "${D}" || die "install failed!"
+
+ VERSION=${PV}
+ DEB_INSTALL_DIR=/usr/local/lib
+
+ dosym $DEB_INSTALL_DIR/libpteidpkcs11.so.$VERSION $DEB_INSTALL_DIR/libpteidpkcs11.so
+ dosym $DEB_INSTALL_DIR/libpteidlibopensc.so.$VERSION $DEB_INSTALL_DIR/libpteidlibopensc.so
+ dosym $DEB_INSTALL_DIR/libpteid.so.$VERSION $DEB_INSTALL_DIR/libpteid.so
+ dosym $DEB_INSTALL_DIR/libpteiddlg.so.$VERSION $DEB_INSTALL_DIR/libpteiddlg.so
+ dosym $DEB_INSTALL_DIR/libpteidhttps.so.$VERSION $DEB_INSTALL_DIR/libpteidhttps.so
+
+ dosym $DEB_INSTALL_DIR/pteidpp/libpteidpp1_gempc.so.$VERSION $DEB_INSTALL_DIR/pteidpp/libpteidpp1_gempc.so
+ dosym $DEB_INSTALL_DIR/pteid_jni/libpteidlibj.so.$VERSION $DEB_INSTALL_DIR/pteid_jni/libpteidlibj.so
+
+ dosym $DEB_INSTALL_DIR/libpteidlibopensc.so.$VERSION $DEB_INSTALL_DIR/libpteidlibopensc.so.1
+ dosym $DEB_INSTALL_DIR/libpteid.so.$VERSION $DEB_INSTALL_DIR/libpteid.so.1
+ dosym $DEB_INSTALL_DIR/libpteidhttps.so.$VERSION $DEB_INSTALL_DIR/libpteidhttps.so.1
+
+}
diff --git a/app-misc/cartao-cidadao-app/metadata.xml b/app-misc/cartao-cidadao-app/metadata.xml
new file mode 100644
index 0000000..65f1d14
--- /dev/null
+++ b/app-misc/cartao-cidadao-app/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jfmcarreira@gmail.com</email>
+ <name>Joao Carreira</name>
+ </maintainer>
+</pkgmetadata>