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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Jul 21 13:48:48 2012 UTC (5 years, 11 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove package

1 # Copyright 1999-2011 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-2.1.0.ebuild,v 1.6 2011/03/27 12:25:17 nirbheek Exp $
4
5 EAPI="1"
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 IUSE=""
16
17 DEPEND=""
18 RDEPEND="virtual/gnat
19 >=x11-libs/gtk+-2.2.0:2
20 >=dev-ada/gtkada-2.4.0
21 >=media-libs/libpng-1.2.4"
22
23 src_compile() {
24 einfo "nothing to be done"
25 }
26
27 src_install () {
28 #for some reason doins strips exec privs on all binaries here, use mv instead
29 dodir /opt/${PN}
30 mv bin lib share ${D}/opt/${PN}/
31
32 # Install documentation.
33 dodoc README
34 doinfo doc/gps/info/*
35 mv doc/gps/{examples,html,ps,txt} ${D}/usr/share/doc/${PF}
36
37 #gps was compiled against libpng.so.2 which in fact is libpng.so.3 on gentoo systems
38 dosym /usr/lib/libpng.so /opt/${PN}/lib/libpng.so.2
39
40 #now some env vars
41 doenvd ${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