1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v3
9 #MY_PV="$(get_version_component_range 1-2)"
11 DESCRIPTION
="unionpay security control plugin"
12 HOMEPAGE
="https://online.unionpay.com/"
13 KEYWORDS
="~amd64 ~x86"
14 SRC_URI
="x86? ( ${HOMEPAGE}/mer/resources/js/ocx/UPEditorLinux.tar.bz2 )
15 amd64? ( ${HOMEPAGE}/mer/resources/js/ocx/UPEditorLinux64.tar.bz2 )"
18 RESTRICT
="strip mirror"
22 RDEPEND
="dev-libs/openssl"
28 addwrite
/var
/lib
/installjammer
29 #addpredict /var/lib/installjammer
31 use amd64
&& .
/UPEditor-1.0
-Linux-x86_64-Install --mode silent \
32 --prefix ${S} --temp ${S}/tmp
33 use x86
&& .
/UPEditor-1.0
-Linux-x86-Install --mode silent \
34 --prefix ${S} --temp ${S}/tmp
38 insinto
"/opt/netscape/plugins"
39 doins
"${WORKDIR}"/libnpUPEditor.so
40 inst_plugin
/opt
/netscape
/plugins
/libnpUPEditor.so
42 rm -rf "${ROOT}"/var
/lib
/installjammer || die