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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Jun 17 19:07:13 2010 UTC (10 years, 3 months ago) by patrick
Branch: MAIN
Changes since 1.6: +2 -2 lines
Migrating away from deprecated postgres virtuals
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 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-r2.ebuild,v 1.6 2010/01/09 15:11:14 fauli 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 dev-db/postgresql-server
25 dev-tcltk/tcllib"
26
27 src_compile() {
28 epatch "${FILESDIR}"/${P}.patch
29 epatch "${FILESDIR}"/${P}-tcl8.5.patch
30 }
31
32 src_install() {
33 make prefix="${D}" bindir="${D}"/usr/bin 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,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