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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 22 19:05:16 2008 UTC (11 years, 7 months ago) by calchan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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-1.1.1.ebuild,v 1.2 2007/09/19 11:44:03 calchan Exp $
4
5 inherit eutils
6
7 SUBDIR="v1.1"
8 HOMEPAGE="http://www.geda.seul.org"
9 DESCRIPTION="libgeda - this library provides functions needed for the gEDA core suite"
10 SRC_URI="http://www.geda.seul.org/devel/${SUBDIR}/${PV}/libgeda-${PV}.tar.gz"
11
12 IUSE="gd"
13 LICENSE="GPL-2"
14 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
15 SLOT="0"
16
17 DEPEND=">=x11-libs/gtk+-2.4
18 =dev-scheme/guile-1.8*
19 >=dev-libs/libstroke-0.5.1
20 gd? ( >=media-libs/gd-2 )"
21
22 pkg_setup() {
23 if has_version ">=dev-scheme/guile-1.8" ; then
24 built_with_use "dev-scheme/guile" deprecated \
25 || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
26 fi
27 if use gd ; then
28 built_with_use media-libs/gd png || die "media-libs/gd must be compiled with USE=png"
29 fi
30 }
31
32 src_unpack() {
33 unpack ${A}
34
35 # Skip the share sub-directory, we'll install prolog.ps manually
36 sed -i \
37 -e "s:SUBDIRS = src include scripts docs share:SUBDIRS = src include scripts docs:" \
38 ${S}/Makefile.in \
39 || die "Patch failed"
40 }
41
42 src_compile() {
43 econf --disable-dependency-tracking $(use_enable gd) || die "Configuration failed"
44 emake || die "Compilation failed"
45 }
46
47 src_install() {
48 emake DESTDIR=${D} install || die "Installation failed"
49
50 insinto /usr/share/gEDA
51 doins share/prolog.ps
52
53 dodoc AUTHORS BUGS ChangeLog README
54 }

  ViewVC Help
Powered by ViewVC 1.1.20