diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-02-14 19:33:13 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-02-14 19:33:13 +0000 |
commit | 8765312bc47aee2bb65bbf9941e548d8b10f7d59 (patch) | |
tree | 17233d00711303ee72e7c81fdeb0bc261162971d /sci-electronics/pcb | |
parent | Stable on MIPS. (diff) | |
download | gentoo-2-8765312bc47aee2bb65bbf9941e548d8b10f7d59.tar.gz gentoo-2-8765312bc47aee2bb65bbf9941e548d8b10f7d59.tar.bz2 gentoo-2-8765312bc47aee2bb65bbf9941e548d8b10f7d59.zip |
Version bump, thanks Gabriel Deveny (bug #166678). Configuration polishing and fixes.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sci-electronics/pcb')
-rw-r--r-- | sci-electronics/pcb/ChangeLog | 8 | ||||
-rw-r--r-- | sci-electronics/pcb/files/digest-pcb-20070208 | 3 | ||||
-rw-r--r-- | sci-electronics/pcb/pcb-20070208.ebuild | 66 |
3 files changed, 76 insertions, 1 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog index e2223c275f0a..8e184c811021 100644 --- a/sci-electronics/pcb/ChangeLog +++ b/sci-electronics/pcb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-electronics/pcb # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.30 2007/01/28 10:30:09 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.31 2007/02/14 19:33:13 calchan Exp $ + +*pcb-20070208 (14 Feb 2007) + + 14 Feb 2007; Denis Dupeyron <calchan@gentoo.org> +pcb-20070208.ebuild: + Version bump, thanks Gabriel Deveny (bug #166678). Configuration polishing + and fixes. 28 Jan 2007; Denis Dupeyron <calchan@gentoo.org> pcb-20060822.ebuild: Added dependency to pkgconfig, bug #153620. diff --git a/sci-electronics/pcb/files/digest-pcb-20070208 b/sci-electronics/pcb/files/digest-pcb-20070208 new file mode 100644 index 000000000000..c64529fdfcbb --- /dev/null +++ b/sci-electronics/pcb/files/digest-pcb-20070208 @@ -0,0 +1,3 @@ +MD5 9481015ada7240f1d598631429e63eb2 pcb-20070208.tar.gz 3725678 +RMD160 e624b4d8d891dbd8a7c1ca596b5228c27991874c pcb-20070208.tar.gz 3725678 +SHA256 0b7dcbe0c366d36ba178844af227c013fbeedb1fc1fecab60e5d0bbfb7f7c60a pcb-20070208.tar.gz 3725678 diff --git a/sci-electronics/pcb/pcb-20070208.ebuild b/sci-electronics/pcb/pcb-20070208.ebuild new file mode 100644 index 000000000000..ed8843e94815 --- /dev/null +++ b/sci-electronics/pcb/pcb-20070208.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20070208.ebuild,v 1.1 2007/02/14 19:33:13 calchan Exp $ + +inherit eutils + +DESCRIPTION="tool for the layout of printed circuit boards" +HOMEPAGE="http://pcb.sourceforge.net/" +SRC_URI="mirror://sourceforge/pcb/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="gif jpeg png" + +RDEPEND=">=x11-libs/gtk+-2.4 + gif? ( media-libs/gd ) + jpeg? ( media-libs/gd ) + png? ( media-libs/gd )" +DEPEND="${RDEPEND} + =dev-lang/tk-8* + || ( + virtual/x11 + x11-proto/xproto + ) + dev-util/pkgconfig" + +pkg_setup() { + if use jpeg ; then + built_with_use media-libs/gd jpeg || die "You need to emerge media-libs/gd with USE=jpeg" + fi + if use png ; then + echo "Using png" + built_with_use media-libs/gd png || die "You need to emerge media-libs/gd with USE=png" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's/\(^START-INFO\)/INFO-DIR-SECTION Miscellaneous\n\1/' doc/pcb.info || die "sed failed" +} + +src_compile() { + local EXPORTERS + if (use gif) || (use jpeg) || (use png) ; then + EXPORTERS="bom gerber png ps" + else + EXPORTERS="bom gerber ps" + fi + econf \ + --disable-dependency-tracking \ + $(use_enable gif ) \ + $(use_enable jpeg ) \ + $(use_enable png ) \ + --with-exporters="${EXPORTERS}" \ + || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR=${D} install || die "Installation failed" + dodoc AUTHORS ChangeLog NEWS README + newicon win32/pcb_icon_big.xpm pcb.xpm + make_desktop_entry pcb PCB pcb.xpm Electronics +} |