/[gentoo-x86]/sci-libs/libgeda/libgeda-20061020.ebuild
Gentoo

Contents of /sci-libs/libgeda/libgeda-20061020.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Mar 22 19:05:16 2008 UTC (11 years, 6 months ago) by calchan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Post stabilization cleanup.
(Portage version: 2.1.4.4)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeda/libgeda-20061020.ebuild,v 1.7 2007/03/09 20:07:20 calchan Exp $
4
5 inherit eutils
6
7 HOMEPAGE="http://www.geda.seul.org"
8 DESCRIPTION="libgeda - this library provides functions needed for the gEDA core suite"
9 SRC_URI="http://www.geda.seul.org/devel/${PV}/libgeda-${PV}.tar.gz"
10
11 IUSE=""
12 LICENSE="GPL-2"
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
14 SLOT="0"
15
16 DEPEND=">=x11-libs/gtk+-2.4
17 >=dev-scheme/guile-1.6.3
18 >=dev-libs/libstroke-0.5.1"
19
20 pkg_setup() {
21 if has_version ">=dev-scheme/guile-1.8" ; then
22 built_with_use "dev-scheme/guile" deprecated \
23 || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
24 fi
25 }
26
27 src_unpack() {
28 unpack ${A}
29
30 # Skip the share sub-directory, we'll install prolog.ps manually
31 sed -i \
32 -e "s:SUBDIRS = src include scripts docs share:SUBDIRS = src include scripts docs:" \
33 ${S}/Makefile.in \
34 || die "Patch failed"
35 }
36
37 src_compile() {
38 econf \
39 --disable-gdgeda \
40 --disable-dependency-tracking \
41 || die "Configuration failed"
42
43 emake || die "Compilation failed"
44 }
45
46 src_install() {
47 einstall || die "Installation failed"
48
49 insinto /usr/share/gEDA
50 doins share/prolog.ps
51
52 dodoc AUTHORS BUGS ChangeLog README
53 }

  ViewVC Help
Powered by ViewVC 1.1.20