pentoo-overlay/net-im/jitsi-bin/jitsi-bin-2.2.ebuild
2013-07-29 01:16:37 +00:00

38 lines
760 B
Bash

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit rpm
PV_RAND="4603.9615"
DESCRIPTION="Secure IM communicator that supports SIP, XMPP/Jabber, AIM/ICQ, Windows Live, Yahoo"
HOMEPAGE="https://jitsi.org/"
SRC_URI="
x86? ( https://download.jitsi.org/jitsi/rpm/jitsi-${PV}-${PV_RAND}.i386.rpm )
amd64? ( https://download.jitsi.org/jitsi/rpm/jitsi-${PV}-${PV_RAND}.x86_64.rpm )"
RESTRICT="strip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="|| ( virtual/jre virtual/jdk )"
DEPEND="${RDEPEND}
app-arch/rpm2targz"
QA_PREBUILT="
usr/share/jitsi/lib/native/*
"
S="${WORKDIR}"
src_unpack() {
rpm_unpack
}
src_install() {
cp -pPR "${S}/usr" "${D}"/
}