summaryrefslogtreecommitdiff
blob: 66b9dc336af3869c59e10f12d54fced5901fd2d5 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils

DESCRIPTION="Java application for sending SMS over the Internet using various mobile operator web gateways"
HOMEPAGE="http://code.google.com/p/esmska/"
SRC_URI="https://github.com/kparal/esmska/releases/download/v${PV}/esmska-${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
RESTRICT="mirror"

RDEPEND="|| ( virtual/jre:1.6 virtual/jdk:1.6 )"
DEPEND=""

src_install() {
	local prefix="/usr/share/${PN}"

	insinto ${prefix}
	doins ${PN}.jar || die "doins ${PN}.jar failed"

	for item in lib gateways; do
		insinto ${prefix}/${item}
		doins ${item}/* || die "doins failed"
	done

	dobin "${FILESDIR}/${PN}" || die "dobin failed"
	doicon icons/*.{svg,png}
	domenu "${FILESDIR}/${PN}.desktop"
	dodoc readme.txt
}