You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/sjphone/sjphone-1.60.2235.ebuild

39 lines
809 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils
MY_P="SJphoneLnx-${PV}"
DESCRIPTION=" VOIP softphone supports both SIP and H.323 standards "
HOMEPAGE="http://www.sjlabs.com/sjp.html"
SRC_URI="http://www.sjlabs.com/preview/linux/${MY_P}.tar.gz"
LICENSE="SJ-Labs IJG libpng ZLIB RSA W3C BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="x11-libs/libSM
x11-libs/libICE
x11-libs/libXext
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp"
S=${WORKDIR}/${MY_P}
RESTRICT="strip"
src_install() {
insinto /opt/sjphone
doins -r lib/*
fperms a+x /opt/sjphone/sjphone
sed -i -e 's:$(dirname "$0"):/opt/sjphone:' \
-e 's:$WD/lib:$WD:' sjphone
dobin sjphone
dodoc README
doicon lib/sjphone.png
make_desktop_entry sjphone
}