/[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.1 - (hide annotations) (download)
Mon Jul 2 14:48:24 2012 UTC (7 years, 7 months ago) by mattm
Branch: MAIN
First commit of user submitted ebuild to fix Bug 353041 - new package: net-misc/yajhfc.  Another client for hylafax plus server.  Java based.  Ebuild meets initial tests and package solves a problem that other gentoo packages do not.  Still, further work will probably be needed to get this ebuild optimal.. Initial release is package masked.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 mattm 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI="3"
6    
7     inherit eutils versionator java-pkg-opt-2
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="YajHFC - 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    
22     IUSE=""
23    
24     COMMON_DEPEND=">=virtual/jdk-1.4"
25     RDEPEND="${COMMON_DEPEND} >=virtual/jre-1.4"
26     DEPEND="${COMMON_DEPEND} virtual/pkgconfig"
27    
28     S="${WORKDIR}/${MY_P}"
29    
30     src_install() {
31     exeinto /usr/bin/
32     exeopts -m555
33     echo "java -jar /usr/bin/${MY_P}" > ${WORKDIR}/h.h
34     newexe "${WORKDIR}/h.h" "yajhfc" || die
35     newexe "${DISTDIR}/${MY_P}" "${MY_P}" || die
36     }

  ViewVC Help
Powered by ViewVC 1.1.20