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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Aug 9 03:06:31 2009 UTC (11 years, 1 month ago) by mescalinum
Branch: MAIN
fix bug 247210
(Portage version: 2.2_rc36/cvs/Linux x86_64)

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.7 2008/05/21 15:56:32 dev-zero Exp $
4
5 inherit eutils
6
7 MY_P=${P//./_}
8
9 DESCRIPTION="a database frontend for postgresql"
10 HOMEPAGE="http://www.pgaccess.org/"
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="virtual/libc"
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 epatch ${FILESDIR}/${P}-tcl8.5.patch
31 }
32
33 src_install() {
34 make prefix=${D} install || die
35 rm -rf ${D}/usr/lib/pgaccess/win32 \
36 ${D}/usr/lib/pgaccess/Makefile
37 rm -rf ${D}/usr/lib/pgaccess/osx
38 dodir /usr/share/doc/${PF}
39 mv ${D}/usr/lib/pgaccess/{README,changelog,copyright,demo,doc/html,todo} ${D}/usr/share/doc/${PF}
40 rmdir ${D}/usr/lib/pgaccess/doc
41 }
42
43 pkg_postinst() {
44 einfo "When running the program, if you encount the error "
45 einfo "\"Error: Shared library file: '/usr/lib/libpgtcl.so' does not exist.\","
46 einfo "you need to emerge postgresql with USE='tcltk' again"
47 }

  ViewVC Help
Powered by ViewVC 1.1.20