/[gentoo-x86]/sci-electronics/geda-gschem/geda-gschem-1.4.3.ebuild
Gentoo

Contents of /sci-electronics/geda-gschem/geda-gschem-1.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Aug 21 21:16:38 2010 UTC (9 years, 2 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove geda split packages as per mask.

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-electronics/geda-gschem/geda-gschem-1.4.3.ebuild,v 1.3 2010/03/04 13:23:41 phajdan.jr Exp $
4
5 EAPI="2"
6
7 inherit fdo-mime versionator
8
9 DESCRIPTION="GPL Electronic Design Automation: schematic editor"
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 stroke threads"
17
18 RDEPEND="=sci-libs/libgeda-${PV}*
19 =sci-electronics/geda-symbols-${PV}*
20 >=dev-libs/glib-2.4
21 >=x11-libs/gtk+-2.4
22 || ( =dev-scheme/guile-1.6* =dev-scheme/guile-1.8*[deprecated] )
23 nls? ( virtual/libintl )
24 stroke? ( >=dev-libs/libstroke-0.5.1 )"
25
26 DEPEND="${RDEPEND}
27 !<sci-electronics/geda-1.4.3-r1
28 >=dev-util/intltool-0.35
29 >=dev-util/pkgconfig-0.9
30 nls? ( sys-devel/gettext )"
31
32 src_prepare() {
33 sed -i -e 's/ docs / /' Makefile.in || die "sed failed"
34 }
35
36 src_configure() {
37 # nls may not work if LINGUAS is set -- upstream bug, they use only variants
38 # like de_DE.po. See Debian bug #336796
39 use nls && unset LINGUAS
40 econf \
41 $(use_enable threads threads posix) \
42 $(use_enable stroke) \
43 $(use_enable nls) \
44 --disable-dependency-tracking \
45 --disable-rpath \
46 --disable-update-mime-database \
47 --disable-update-desktop-database
48 }
49
50 src_install() {
51 emake DESTDIR="${D}" install || die "install failed"
52 dodoc AUTHORS BUGS NEWS README
53 doman docs/gschem.1
54 }
55
56 pkg_postinst() {
57 fdo-mime_mime_database_update
58 fdo-mime_desktop_database_update
59 }
60
61 pkg_postrm() {
62 fdo-mime_mime_database_update
63 fdo-mime_desktop_database_update
64 }

  ViewVC Help
Powered by ViewVC 1.1.20