/[gentoo-x86]/sci-electronics/gerbv/gerbv-2.6.0.ebuild
Gentoo

Contents of /sci-electronics/gerbv/gerbv-2.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Jan 4 12:56:09 2013 UTC (23 months, 3 weeks ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Stable for ppc, wrt bug #449734

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/gerbv-2.6.0.ebuild,v 1.6 2013/01/03 10:56:40 tomjbe Exp $
4
5 EAPI="4"
6
7 inherit fdo-mime
8
9 DESCRIPTION="A RS-274X (Gerber) and NC drill (Excellon) file viewer"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11 HOMEPAGE="http://gerbv.geda-project.org/"
12
13 IUSE="doc examples static-libs unit-mm"
14 SLOT="0"
15 LICENSE="GPL-2"
16 KEYWORDS="amd64 ppc x86"
17 RESTRICT="test"
18
19 RDEPEND="
20 x11-libs/gtk+:2
21 x11-libs/cairo"
22
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 src_configure() {
27 econf \
28 $(use_enable unit-mm) \
29 --disable-update-desktop-database \
30 $(use_enable static-libs static)
31 }
32
33 src_install () {
34 emake DESTDIR="${D}" install
35 dodoc AUTHORS BUGS ChangeLog CONTRIBUTORS HACKING NEWS README* TODO
36
37 rm doc/Doxyfile.nopreprocessing
38 if use doc; then
39 find doc -name "Makefile*" -exec rm -f '{}' \;
40 dodoc -r doc/*
41 fi
42
43 if use examples; then
44 find example -name "Makefile*" -exec rm -f '{}' \;
45 dodoc -r example/*
46 fi
47 }
48
49 pkg_postinst() {
50 fdo-mime_desktop_database_update
51 }
52
53 pkg_postrm() {
54 fdo-mime_desktop_database_update
55 }

  ViewVC Help
Powered by ViewVC 1.1.20