/[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.3 - (hide annotations) (download)
Tue Aug 18 06:33:01 2009 UTC (11 years, 1 month ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
install binary in correct location, see bug 246659, and don't install copyright file
(Portage version: 2.1.6.13/cvs/Linux i686)

1 mescalinum 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 fauli 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-db/pgaccess/pgaccess-0.99.0.20040219-r1.ebuild,v 1.2 2009/08/18 06:19:09 fauli Exp $
4 mescalinum 1.1
5     inherit eutils
6    
7     MY_P=${P//./_}
8    
9     DESCRIPTION="a database frontend for postgresql"
10 fauli 1.2 HOMEPAGE="http://sourceforge.net/projects/pgaccess/"
11 mescalinum 1.1 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 fauli 1.2 epatch "${FILESDIR}"/${P}.patch
29     epatch "${FILESDIR}"/${P}-tcl8.5.patch
30 mescalinum 1.1 }
31    
32     src_install() {
33 fauli 1.2 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 mescalinum 1.1 dodir /usr/share/doc/${PF}
38 fauli 1.2 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 mescalinum 1.1 }
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