/[gentoo-x86]/sci-libs/vecmath-objectclub/vecmath-objectclub-1.14.ebuild
Gentoo

Contents of /sci-libs/vecmath-objectclub/vecmath-objectclub-1.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Dec 14 10:45:20 2012 UTC (2 years ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Update LICENSE, HPND according to notices in source files.

(Portage version: 2.1.11.37/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/vecmath-objectclub/vecmath-objectclub-1.14.ebuild,v 1.3 2012/08/04 15:30:17 bicatali Exp $
4
5 EAPI=4
6
7 inherit java-pkg-2
8
9 MY_PN="${PN/-objectclub/1.2}"
10
11 DESCRIPTION="Unofficial free implementation of Sun javax.vecmath by Kenji Hiranabe"
12 HOMEPAGE="http://www.objectclub.jp/download/vecmath_e"
13 SRC_URI="http://www.objectclub.jp/download/files/vecmath/${MY_PN}-${PV}.tar.gz"
14
15 LICENSE="HPND"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE=""
19
20 DEPEND=">=virtual/jdk-1.4"
21 RDEPEND=">=virtual/jre-1.4"
22
23 S="${WORKDIR}/${MY_PN}-${PV}"
24
25 src_prepare() {
26 mkdir classes
27 }
28
29 src_compile() {
30 find javax/ -name "*.java" > "${T}/src.list"
31 ejavac -d "${S}/classes" "@${T}/src.list"
32
33 cd classes
34 jar -cf "${S}"/${PN}.jar * || die "failed to create jar"
35 }
36
37 src_install() {
38 java-pkg_dojar ${PN}.jar
39 dodoc README
40 }

  ViewVC Help
Powered by ViewVC 1.1.20