/[gentoo-x86]/dev-java/datavision-bin/datavision-bin-0.8.1.ebuild
Gentoo

Contents of /dev-java/datavision-bin/datavision-bin-0.8.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Jul 16 14:25:43 2005 UTC (13 years, 11 months ago) by axxo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
dep/style fixes
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/datavision-bin/datavision-bin-0.8.1.ebuild,v 1.3 2005/01/01 18:22:31 eradicator Exp $
4
5 DESCRIPTION="DataVision is an Open Source reporting tool similar to Crystal Reports"
6 SRC_URI="mirror:///sourceforge/datavision/${P/-bin}.tar.gz"
7 HOMEPAGE="http://datavision.sourceforge.net/"
8
9 IUSE="mysql postgres"
10
11 SLOT="0"
12 LICENSE="Apache-1.1"
13 KEYWORDS="x86 amd64 ~ppc"
14
15 DATAVISION_HOME=/opt/datavision
16
17 RDEPEND=">=virtual/jdk-1.3 \
18 mysql? ( >=dev-java/jdbc-mysql-3.0 ) \
19 postgres? ( >=dev-java/jdbc2-postgresql-7.3 )"
20
21
22 src_compile() { :; }
23
24 src_install() {
25 dodir ${DATAVISION_HOME}
26 cp -r * ${D}${DATAVISION_HOME}
27 }
28
29 pkg_postinst() {
30 einfo "CONFIGURATION NOTES"
31 echo " "
32 einfo "Make sure your CLASSPATH variable is updated via java-config(1)"
33 einfo "to use your desired JDBC driver."
34 echo " "
35 einfo "You must then create a database. Run ${DATAVISION_HOME}/datavision.sh"
36 einfo "and fill the connection dialog box with your database details."
37
38 if use mysql; then
39 echo " "
40 echo "MySQL example:"
41 eerror "Driver class name: com.mysql.jdbc.Drive"
42 eerror "Connection: jdbc:mysql://localhost/database"
43 fi
44
45 if use postgres; then
46 echo " "
47 echo "PostgreSQL example:"
48 eerror "Driver class name:org.postgresql.Driver"
49 eerror "Connection: jdbc:postgresql://localhost/database"
50 fi
51 echo " "
52 echo " "
53 }

  ViewVC Help
Powered by ViewVC 1.1.20