/[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 - (hide 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 josejx 1.5 # Copyright 1999-2010 Gentoo Foundation
2 fauli 1.1 # Distributed under the terms of the GNU General Public License v2
3 patrick 1.7 # $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 fauli 1.1
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 fauli 1.6 KEYWORDS="amd64 ppc x86"
16 fauli 1.1 IUSE=""
17    
18     S=${WORKDIR}/${MY_P}
19    
20 patrick 1.4 DEPEND=""
21 fauli 1.1
22     RDEPEND=">=dev-lang/tcl-8.3.4
23     >=dev-lang/tk-8.3.4
24 patrick 1.7 dev-db/postgresql-server
25 fauli 1.1 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 fauli 1.2 make prefix="${D}" bindir="${D}"/usr/bin install || die
34 fauli 1.1 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