/[gentoo-x86]/dev-ada/gps-bin/gps-bin-1.4.0.ebuild
Gentoo

Contents of /dev-ada/gps-bin/gps-bin-1.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Feb 5 10:55:46 2007 UTC (10 years, 8 months ago) by george
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
removed old and masked versions
(Portage version: 2.1.2-r5)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ada/gps-bin/gps-bin-1.4.0.ebuild,v 1.3 2007/01/25 23:51:01 genone Exp $
4
5 IUSE=""
6
7 S="${WORKDIR}/gps-${PV}-academic-x86-linux"
8 DESCRIPTION="GNAT Programming System"
9 SRC_URI="http://libre.act-europe.fr/gps/gps-${PV}-academic-x86-linux.tgz"
10 HOMEPAGE="http://libre.act-europe.fr/gps"
11
12 KEYWORDS="x86"
13 LICENSE="GPL-2"
14 SLOT="0"
15
16 DEPEND="virtual/libc"
17 RDEPEND=">=dev-lang/gnat-3.15p
18 >=x11-libs/gtk+-2.2.0
19 >=dev-ada/gtkada-2.2.0
20 >=media-libs/libpng-1.2.4"
21
22 src_compile() {
23 einfo "nothing to be done"
24 }
25
26 src_install () {
27 #for some reason doins strips exec privs on all binaries here, use mv instead
28 dodir /opt/${PN}
29 mv bin lib share ${D}/opt/${PN}/
30
31 # Install documentation.
32 dodoc README
33 doinfo doc/gps/info/*
34 mv doc/gps/{examples,html,ps,txt} ${D}/usr/share/doc/${PF}
35
36 #gps was compiled against libpng.so.2 which in fact is libpng.so.3 on gentoo systems
37 dosym /usr/lib/libpng.so /opt/${PN}/lib/libpng.so.2
38
39 #now some env vars
40 insinto /etc/env.d
41 doins ${FILESDIR}/10gps-bin
42 echo "GPS_DOC_PATH=/usr/share/doc/${PF}/html" >> ${D}/etc/env.d/10gps-bin
43 }
44
45 pkg_postinst(){
46 elog "This is GNAT Programming System, enjoy!"
47 elog "Please note, if you plan on using gtkada, beware that while compiling
48 your app from within gps, it will link against its own libraries
49 instead of the system-wide gtkada library!"
50 }

  ViewVC Help
Powered by ViewVC 1.1.20