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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Dec 5 01:04:56 2006 UTC (12 years, 6 months ago) by wltjr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removed datavision-bin, binary package replaced by non-bin compiled from source. Package was moved before removal.

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-r1.ebuild,v 1.5 2005/07/16 14:25:43 axxo 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 DEPEND=""
16 RDEPEND=">=virtual/jre-1.3 \
17 mysql? ( >=dev-java/jdbc-mysql-3.0 ) \
18 postgres? ( >=dev-java/jdbc2-postgresql-7.3 )"
19
20 DATAVISION_HOME=/opt/datavision
21
22 S=${WORKDIR}/${P/-bin}
23
24 src_compile() { :; }
25
26 src_install() {
27 dodir ${DATAVISION_HOME}
28 cp -r * ${D}${DATAVISION_HOME}
29 }
30
31 pkg_postinst() {
32 einfo "CONFIGURATION NOTES"
33 echo
34 einfo "Make sure your CLASSPATH variable is updated via java-config(1)"
35 einfo "to use your desired JDBC driver."
36 echo
37 einfo "You must then create a database. Run ${DATAVISION_HOME}/datavision.sh"
38 einfo "and fill the connection dialog box with your database details."
39
40 if use mysql; then
41 echo
42 echo "MySQL example:"
43 eerror "Driver class name: com.mysql.jdbc.Drive"
44 eerror "Connection: jdbc:mysql://localhost/database"
45 fi
46
47 if use postgres; then
48 echo
49 echo "PostgreSQL example:"
50 eerror "Driver class name:org.postgresql.Driver"
51 eerror "Connection: jdbc:postgresql://localhost/database"
52 fi
53 }

  ViewVC Help
Powered by ViewVC 1.1.20