summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2007-12-03 10:03:29 +0000
committerDenis Dupeyron <calchan@gentoo.org>2007-12-03 10:03:29 +0000
commitcf6097a6bc3df5e239654fecf5669bad1a1d7a55 (patch)
tree2051ae6b461720adbc0dd74fa9c50db52d203358 /sci-electronics/gerbv
parentAdded local USE flag unit-mm for sci-electronics/gerbv. (diff)
downloadgentoo-2-cf6097a6bc3df5e239654fecf5669bad1a1d7a55.tar.gz
gentoo-2-cf6097a6bc3df5e239654fecf5669bad1a1d7a55.tar.bz2
gentoo-2-cf6097a6bc3df5e239654fecf5669bad1a1d7a55.zip
Version bump.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'sci-electronics/gerbv')
-rw-r--r--sci-electronics/gerbv/ChangeLog9
-rw-r--r--sci-electronics/gerbv/files/digest-gerbv-1.0.33
-rw-r--r--sci-electronics/gerbv/gerbv-1.0.3.ebuild47
3 files changed, 57 insertions, 2 deletions
diff --git a/sci-electronics/gerbv/ChangeLog b/sci-electronics/gerbv/ChangeLog
index 610642ee9af8..9e27548c00e6 100644
--- a/sci-electronics/gerbv/ChangeLog
+++ b/sci-electronics/gerbv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/gerbv
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v 1.21 2006/12/21 06:41:27 compnerd Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v 1.22 2007/12/03 10:03:28 calchan Exp $
+
+*gerbv-1.0.3 (03 Dec 2007)
+
+ 03 Dec 2007; Denis Dupeyron <calchan@gentoo.org> +gerbv-1.0.3.ebuild:
+ Version bump.
21 Dec 2006; Saleem Abdulrasool <compnerd@gentoo.org> -gerbv-0.15.ebuild:
gnome-1.x removal
diff --git a/sci-electronics/gerbv/files/digest-gerbv-1.0.3 b/sci-electronics/gerbv/files/digest-gerbv-1.0.3
new file mode 100644
index 000000000000..d4c3106efbc3
--- /dev/null
+++ b/sci-electronics/gerbv/files/digest-gerbv-1.0.3
@@ -0,0 +1,3 @@
+MD5 dc7f2c362c7e9e406133ed0a60bb17b9 gerbv-1.0.3.tar.gz 1088959
+RMD160 5e9d3bd3b8e563bf33da8b048e9d7d392c5b7511 gerbv-1.0.3.tar.gz 1088959
+SHA256 434d21d472b947609355b0955afdabd7a9510152d4a9b3e6430f0c6f93e8c671 gerbv-1.0.3.tar.gz 1088959
diff --git a/sci-electronics/gerbv/gerbv-1.0.3.ebuild b/sci-electronics/gerbv/gerbv-1.0.3.ebuild
new file mode 100644
index 000000000000..0b27796c7d92
--- /dev/null
+++ b/sci-electronics/gerbv/gerbv-1.0.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/gerbv-1.0.3.ebuild,v 1.1 2007/12/03 10:03:28 calchan Exp $
+
+DESCRIPTION="A free Gerber viewer"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://gerbv.sourceforge.net/"
+
+IUSE="doc examples png unit-mm"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="=x11-libs/gtk+-2*
+ png? ( media-libs/libpng )"
+
+src_compile() {
+ econf \
+ --disable-dependency-tracking \
+ --enable-gtk2 \
+ $(use_enable png exportpng ) \
+ $(use_enable unit-mm ) \
+ --with-maxfiles=50 \
+ || die "Configuration failed"
+ emake || die "Compilation failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "Installation failed"
+ dodoc AUTHORS ChangeLog CONTRIBUTORS HACKING NEWS README TODO
+
+ if use doc
+ then
+ find doc -name "Makefile*" -exec rm -f '{}' \;
+ find doc -name "*.txt" -exec ecompress '{}' \;
+ insinto /usr/share/doc/${PF}
+ doins -r doc/*
+ fi
+
+ if use examples
+ then
+ find example -name "Makefile*" -exec rm -f '{}' \;
+ find example -name "*.txt" -exec ecompress '{}' \;
+ insinto /usr/share/doc/${PF}/examples
+ doins -r example/*
+ fi
+}