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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20