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

Contents of /sci-libs/libgeda/libgeda-1.4.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Aug 21 21:12:40 2010 UTC (9 years, 1 month ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove non-stable versions as per masking.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.4.3-r1.ebuild,v 1.6 2010/05/23 18:52:09 armin76 Exp $
4
5 EAPI="2"
6
7 inherit fdo-mime versionator
8
9 DESCRIPTION="GPL Electronic Design Automation: core library"
10 HOMEPAGE="http://www.gpleda.org/"
11 SRC_URI="http://geda.seul.org/release/v$(get_version_component_range 1-2)/${PV}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc sparc x86"
16 IUSE="nls threads"
17
18 RDEPEND=">=dev-libs/glib-2.4
19 >=x11-libs/gtk+-2.4
20 || ( =dev-scheme/guile-1.6* =dev-scheme/guile-1.8*[deprecated] )
21 nls? ( virtual/libintl )"
22
23 DEPEND="${RDEPEND}
24 >=dev-util/intltool-0.35
25 >=dev-util/pkgconfig-0.9
26 nls? ( sys-devel/gettext )"
27
28 src_prepare() {
29 # for gEDA 1.4.3 make doxygen does not work
30 sed -i -e 's/ docs / /' Makefile.in || die "sed failed"
31 }
32
33 src_configure() {
34 # nls may not work if LINGUAS is set -- upstream bug, they use only variants
35 # like de_DE.po. See Debian bug #336796
36 use nls && unset LINGUAS
37 econf \
38 $(use_enable threads threads posix) \
39 $(use_enable nls) \
40 --disable-dependency-tracking \
41 --disable-rpath \
42 --disable-update-mime-database
43 }
44
45 src_install() {
46 emake DESTDIR="${D}" install || die "install failed"
47 dodoc README AUTHORS NEWS BUGS
48 }
49
50 pkg_postinst() {
51 fdo-mime_mime_database_update
52 }
53
54 pkg_postrm() {
55 fdo-mime_mime_database_update
56 }

  ViewVC Help
Powered by ViewVC 1.1.20