/[gentoo-x86]/dev-db/pgaccess/pgaccess-0.99.0.20040219.ebuild
Gentoo

Contents of /dev-db/pgaccess/pgaccess-0.99.0.20040219.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Jan 9 15:12:34 2010 UTC (10 years, 7 months ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
clean up
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/pgaccess/pgaccess-0.99.0.20040219.ebuild,v 1.9 2009/09/23 16:34:40 patrick Exp $
4
5 inherit eutils
6
7 MY_P=${P//./_}
8
9 DESCRIPTION="a database frontend for postgresql"
10 HOMEPAGE="http://sourceforge.net/projects/pgaccess/"
11 SRC_URI="mirror://sourceforge/pgaccess/${MY_P}.tgz"
12 LICENSE="POSTGRESQL"
13
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 IUSE=""
17
18 S=${WORKDIR}/${MY_P}
19
20 DEPEND=""
21
22 RDEPEND=">=dev-lang/tcl-8.3.4
23 >=dev-lang/tk-8.3.4
24 >=virtual/postgresql-server-7.3
25 dev-tcltk/tcllib"
26
27 src_compile() {
28 cd ${S}
29 epatch ${FILESDIR}/${P}.patch
30 }
31
32 src_install() {
33 make prefix=${D} install || die
34 rm -rf ${D}/usr/lib/pgaccess/win32 \
35 ${D}/usr/lib/pgaccess/Makefile
36 rm -rf ${D}/usr/lib/pgaccess/osx
37 dodir /usr/share/doc/${PF}
38 mv ${D}/usr/lib/pgaccess/{README,changelog,copyright,demo,doc/html,todo} ${D}/usr/share/doc/${PF}
39 rmdir ${D}/usr/lib/pgaccess/doc
40 }
41
42 pkg_postinst() {
43 einfo "When running the program, if you encount the error "
44 einfo "\"Error: Shared library file: '/usr/lib/libpgtcl.so' does not exist.\","
45 einfo "you need to emerge postgresql with USE='tcltk' again"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20