summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2007-06-12 01:32:29 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2007-06-12 01:32:29 +0000
commit409cbaf3a6479ea4f998cc3d5fb0d44f050f1625 (patch)
treeadfbe904202a95a874652f5e8b39ab8d7df30ee4 /sci-electronics/eagle
parentStable on amd64 wrt bug 180882 (diff)
downloadgentoo-2-409cbaf3a6479ea4f998cc3d5fb0d44f050f1625.tar.gz
gentoo-2-409cbaf3a6479ea4f998cc3d5fb0d44f050f1625.tar.bz2
gentoo-2-409cbaf3a6479ea4f998cc3d5fb0d44f050f1625.zip
Bumped to _p2 (closed #181430)
(Portage version: 2.1.2.9)
Diffstat (limited to 'sci-electronics/eagle')
-rw-r--r--sci-electronics/eagle/ChangeLog8
-rw-r--r--sci-electronics/eagle/eagle-4.16_p2.ebuild84
-rw-r--r--sci-electronics/eagle/files/digest-eagle-4.16_p212
-rw-r--r--sci-electronics/eagle/metadata.xml19
4 files changed, 114 insertions, 9 deletions
diff --git a/sci-electronics/eagle/ChangeLog b/sci-electronics/eagle/ChangeLog
index 9fe5dff71c87..d18f57474844 100644
--- a/sci-electronics/eagle/ChangeLog
+++ b/sci-electronics/eagle/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/eagle
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.5 2007/04/29 18:10:03 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.6 2007/06/12 01:32:29 nixphoeni Exp $
+
+*eagle-4.16_p2 (12 Jun 2007)
+
+ 12 Jun 2007; Joe Sapp <nixphoeni@gentoo.org> metadata.xml,
+ +eagle-4.16_p2.ebuild:
+ Bumped to _p2, updated and fixed formatting in metadata.xml (#181430)
29 Apr 2007; Torsten Veller <tove@gentoo.org> eagle-4.16_p1.ebuild:
Fix *initd, *confd and *envd calls (#173884, #174266)
diff --git a/sci-electronics/eagle/eagle-4.16_p2.ebuild b/sci-electronics/eagle/eagle-4.16_p2.ebuild
new file mode 100644
index 000000000000..ee15dac56860
--- /dev/null
+++ b/sci-electronics/eagle/eagle-4.16_p2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2.ebuild,v 1.1 2007/06/12 01:32:29 nixphoeni Exp $
+
+inherit eutils
+
+DESCRIPTION="EAGLE Layout Editor"
+HOMEPAGE="http://www.cadsoft.de"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_de doc"
+LICENSE="cadsoft"
+RESTRICT="strip"
+SLOT="0"
+
+MY_PV=${PV/_p/r}
+MANDOC="cadsoft_eagle_manual"
+#
+# When updating this package:
+# 1) fetch the english and german documentation
+# 2) update the following MANVER to the document's date
+# 3) rename the docs to "${MANDOC}-{eng,ger}-${MANVER}.pdf"
+# 4) stick them on the mirrors (or in your local ${DISTDIR})
+#
+MANVER="2006.12.13"
+
+SRC_URI="linguas_de? ( ftp://ftp.cadsoft.de/pub/program/${MY_PV}/${PN}-lin-ger-${MY_PV}.tgz
+ doc? ( mirror://gentoo/${MANDOC}-ger-${MANVER}.pdf ) )
+ !linguas_de? ( ftp://ftp.cadsoft.de/pub/program/${MY_PV}/${PN}-lin-eng-${MY_PV}.tgz
+ doc? ( mirror://gentoo/${MANDOC}-eng-${MANVER}.pdf ) )"
+
+RDEPEND="sys-libs/glibc
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp"
+
+INSTALLDIR="/opt/eagle"
+case "${LINGUAS}" in
+ *de*)
+ MY_LANG="ger";;
+ *)
+ MY_LANG="eng";;
+esac
+MANFILE=${MANDOC}-${MY_LANG}-${MANVER}.pdf
+MY_P=${PN}-lin-${MY_LANG}-${MY_PV}
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+
+ unpack ${MY_P}.tgz
+ use doc && cp "${DISTDIR}"/${MANFILE} "${S}"
+
+}
+
+src_install() {
+
+ cd "${S}"
+ dodir ${INSTALLDIR}
+ # Copy all to INSTALLDIR
+ cp -r . "${D}"/${INSTALLDIR}
+
+ # Install the documentation
+ dodoc README doc/*
+ use doc && cp ${MANFILE} ${D}/usr/share/doc/${PF}
+ doman man/eagle.1
+ # Remove docs left in INSTALLDIR
+ rm -rf "${D}"/${INSTALLDIR}/{README,install,${MANFILE}} "${D}"/${INSTALLDIR}/doc "${D}"/${INSTALLDIR}/man
+
+ echo -e "PATH=${INSTALLDIR}/bin\nROOTPATH=${INSTALLDIR}/bin" > "${S}"/90eagle
+ doenvd "${S}"/90eagle
+
+ # Create desktop entry
+ doicon bin/${PN}.xpm
+ make_desktop_entry ${PN} ${PN} ${PN}.xpm "Graphics;Electronics"
+
+}
+
+pkg_postinst() {
+
+ elog "Run \`env-update && source /etc/profile\` now to set up the correct paths."
+ elog "You must first run eagle as root to invoke product registration."
+
+}
diff --git a/sci-electronics/eagle/files/digest-eagle-4.16_p2 b/sci-electronics/eagle/files/digest-eagle-4.16_p2
new file mode 100644
index 000000000000..2661398bb634
--- /dev/null
+++ b/sci-electronics/eagle/files/digest-eagle-4.16_p2
@@ -0,0 +1,12 @@
+MD5 1e85f214b4229023ec22167ee8c6b485 cadsoft_eagle_manual-eng-2006.12.13.pdf 1875608
+RMD160 a5a8cf52cb3c027dcf9e38638813db9fc5728be7 cadsoft_eagle_manual-eng-2006.12.13.pdf 1875608
+SHA256 805fbef15bd4584f6a976d8a2cc672f00ce3ad32d018ce53b7c9ce80b9965733 cadsoft_eagle_manual-eng-2006.12.13.pdf 1875608
+MD5 bc5a380e943e741b4b85f6c9e8b23ddc cadsoft_eagle_manual-ger-2006.12.13.pdf 3178176
+RMD160 79e021301507e12fefec3d227f0e3a495f12b42b cadsoft_eagle_manual-ger-2006.12.13.pdf 3178176
+SHA256 1b2bba3af2bfa14194a17aa0218101f934204e54b207c0617b7d86a522ea55cd cadsoft_eagle_manual-ger-2006.12.13.pdf 3178176
+MD5 9648bed26f901ea634a69d18b9c33dce eagle-lin-eng-4.16r2.tgz 8922532
+RMD160 32449bbed7df918e7825cd91f1c559cc0d8966f9 eagle-lin-eng-4.16r2.tgz 8922532
+SHA256 dc71102780621022c5f3b124bbcde075f23d3e04d624a2985afa733fbae8c7e4 eagle-lin-eng-4.16r2.tgz 8922532
+MD5 e4605f15dde129a2b1a5d65d87d832b2 eagle-lin-ger-4.16r2.tgz 9018957
+RMD160 e6d978c131c5af767f2c6bcee52907460de121d7 eagle-lin-ger-4.16r2.tgz 9018957
+SHA256 6c570e41668da23e1f473da3bfd879cbeb76bea02d35ae13970db48b3aa36259 eagle-lin-ger-4.16r2.tgz 9018957
diff --git a/sci-electronics/eagle/metadata.xml b/sci-electronics/eagle/metadata.xml
index 3243505d178b..9bb8d24c670e 100644
--- a/sci-electronics/eagle/metadata.xml
+++ b/sci-electronics/eagle/metadata.xml
@@ -2,13 +2,16 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
- <maintainer><email>nixphoeni@gentoo.org</email></maintainer>
+ <maintainer>
+ <email>nixphoeni@gentoo.org</email>
+ <name>Joe Sapp</name>
+ </maintainer>
<longdescription>EAGLE (Easily Applicable Graphical Layout Editor)
- is a powerful tool for creating printed circuit boards (PCBs).
- It requires a 586 (or higher), kernel 2.x (or higher), and
- X11 in at least 8bpp mode with 1024x768 min. resolution.
- The freeware edition limits the useable board area to
- 100x80 mm, two signal layers, and one sheet in the
- schematic editor.
- </longdescription>
+ is a powerful tool for creating printed circuit boards (PCBs).
+ It requires a 586 (or higher), kernel 2.x (or higher), and
+ X11 in at least 8bpp mode with 1024x768 min. resolution.
+ The freeware edition limits the useable board area to
+ 100x80 mm, two signal layers, and one sheet in the
+ schematic editor.
+ </longdescription>
</pkgmetadata>