/[gentoo-x86]/net-misc/yajhfc/yajhfc-0.5.2.ebuild
Gentoo

Contents of /net-misc/yajhfc/yajhfc-0.5.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Mar 21 19:44:52 2015 UTC (4 years, 8 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +8 -11 lines
Bump to EAPI=5

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/yajhfc/yajhfc-0.5.2.ebuild,v 1.1 2012/07/02 14:48:24 mattm Exp $
4
5 EAPI=5
6
7 inherit eutils java-pkg-opt-2 versionator
8
9 MY_P="${PN}-${PV}.jar"
10 MY_P="${MY_P/_/}"
11 MY_P="${MY_P/./_}"
12 MY_P="${MY_P/./_}"
13
14 DESCRIPTION="Yet another Java HylaFAX Plus Client"
15 HOMEPAGE="http://www.yajhfc.de/"
16 SRC_URI="http://download.yajhfc.de/releases/${MY_P}"
17
18 SLOT="0"
19 LICENSE="GPL-3"
20 KEYWORDS=""
21 IUSE=""
22
23 COMMON_DEPEND=">=virtual/jdk-1.4"
24 RDEPEND="${COMMON_DEPEND} >=virtual/jre-1.4"
25 DEPEND="${COMMON_DEPEND} virtual/pkgconfig"
26
27 S="${WORKDIR}/${MY_P}"
28
29 src_install() {
30 echo "java -jar /usr/bin/${MY_P}" > "${WORKDIR}"/h.h
31 newbin "${WORKDIR}/h.h" "yajhfc"
32 newbin "${DISTDIR}/${MY_P}" "${MY_P}"
33 }

  ViewVC Help
Powered by ViewVC 1.1.20