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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri May 4 07:10:19 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 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.5.0.ebuild,v 1.2 2011/03/02 21:40:55 jlec 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.sourceforge.net/"
12
13 IUSE="unit-mm doc examples"
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-1.2"
22
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 src_configure() {
27 econf \
28 $(use_enable unit-mm) \
29 --disable-update-desktop-database
30 }
31
32 src_install () {
33 emake DESTDIR="${D}" install || die "install failed"
34 dodoc AUTHORS BUGS ChangeLog CONTRIBUTORS HACKING NEWS README* TODO
35
36 rm doc/Doxyfile.nopreprocessing
37 if use doc; then
38 find doc -name "Makefile*" -exec rm -f '{}' \;
39 dodoc -r doc/*
40 fi
41
42 if use examples; then
43 find example -name "Makefile*" -exec rm -f '{}' \;
44 dodoc -r example/*
45 fi
46 }
47
48 pkg_postinst() {
49 fdo-mime_desktop_database_update
50 }
51
52 pkg_postrm() {
53 fdo-mime_desktop_database_update
54 }

  ViewVC Help
Powered by ViewVC 1.1.20