/[gentoo-x86]/net-im/kouchat/kouchat-0.9.8.ebuild
Gentoo

Contents of /net-im/kouchat/kouchat-0.9.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon May 21 19:37:47 2012 UTC (22 months, 3 weeks ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
inherit eutils for make_desktop_entry

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/kouchat/kouchat-0.9.8.ebuild,v 1.3 2009/01/04 17:37:17 maekke Exp $
4
5 EAPI=1
6 JAVA_PKG_IUSE="doc source test"
7
8 inherit eutils java-pkg-2 java-ant-2
9
10 DESCRIPTION="KouChat is a simple serverless chat client for local area networks."
11 HOMEPAGE="http://kouchat.googlecode.com/"
12 SRC_URI="http://kouchat.googlecode.com/files/${P}-src.tar.gz"
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 RDEPEND=">=virtual/jre-1.6"
19 DEPEND=">=virtual/jdk-1.6
20 test?
21 (
22 dev-java/junit:4
23 dev-java/ant-junit4
24 )"
25
26 S="${WORKDIR}/${P}-src"
27
28 src_unpack() {
29 unpack ${A}
30 cp -v "${FILESDIR}"/build.xml "${S}" || die
31 }
32
33 src_install() {
34 java-pkg_dojar ${PN}.jar
35 use doc && java-pkg_dojavadoc docs
36 use source && java-pkg_dosrc src/net
37 java-pkg_dolauncher ${PN} --main net.usikkert.kouchat.KouChat
38 java-pkg_dolauncher ${PN}-console --main net.usikkert.kouchat.KouChat --pkg_args "--console"
39 newicon kou_shortcut.png ${PN}.png
40 make_desktop_entry ${PN} "KouChat"
41 }
42
43 src_test() {
44 ANT_TASKS="ant-junit4" eant -Djunit4.jar=$(java-pkg_getjar junit-4 junit.jar) test
45 }

  ViewVC Help
Powered by ViewVC 1.1.20