From 344f9a8fe987ae0c4a9c4a255893d269212b4740 Mon Sep 17 00:00:00 2001 From: Joe Sapp Date: Wed, 6 Dec 2006 02:34:38 +0000 Subject: [PATCH] Initial commit. Thanks to Michael Ihde for the initial ebuild submission and jakub for helping to refine this revision. Package-Manager: portage-2.1.2_rc2-r4 --- sci-electronics/eagle/ChangeLog | 11 +++ sci-electronics/eagle/Manifest | 19 +++++ sci-electronics/eagle/eagle-4.16_p1.ebuild | 78 +++++++++++++++++++ .../eagle/files/digest-eagle-4.16_p1 | 12 +++ sci-electronics/eagle/metadata.xml | 14 ++++ 5 files changed, 134 insertions(+) create mode 100644 sci-electronics/eagle/ChangeLog create mode 100644 sci-electronics/eagle/Manifest create mode 100644 sci-electronics/eagle/eagle-4.16_p1.ebuild create mode 100644 sci-electronics/eagle/files/digest-eagle-4.16_p1 create mode 100644 sci-electronics/eagle/metadata.xml diff --git a/sci-electronics/eagle/ChangeLog b/sci-electronics/eagle/ChangeLog new file mode 100644 index 000000000000..70ac0602708f --- /dev/null +++ b/sci-electronics/eagle/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-electronics/eagle +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.1 2006/12/06 02:34:38 nixphoeni Exp $ + +*eagle-4.16_p1 (05 Dec 2006) + + 05 Dec 2006; Joe Sapp +metadata.xml, + +eagle-4.16_p1.ebuild: + Initial commit. Thanks to Michael Ihde for the initial ebuild submission. + This closes bug #37217. + diff --git a/sci-electronics/eagle/Manifest b/sci-electronics/eagle/Manifest new file mode 100644 index 000000000000..21f1b8a79c44 --- /dev/null +++ b/sci-electronics/eagle/Manifest @@ -0,0 +1,19 @@ +DIST cadsoft_eagle_manual-eng-2006.04.03.pdf 1875608 RMD160 a5a8cf52cb3c027dcf9e38638813db9fc5728be7 SHA1 08e6e8e72fcca07b4f58987f74b723cd8980ac9e SHA256 805fbef15bd4584f6a976d8a2cc672f00ce3ad32d018ce53b7c9ce80b9965733 +DIST cadsoft_eagle_manual-ger-2006.04.03.pdf 3178176 RMD160 79e021301507e12fefec3d227f0e3a495f12b42b SHA1 3cecdb01c8f0fa8b85b5dfb83b49e52141eabba6 SHA256 1b2bba3af2bfa14194a17aa0218101f934204e54b207c0617b7d86a522ea55cd +DIST eagle-lin-eng-4.16r1.tgz 8595252 RMD160 a7ebd46e1699da846c397df1a068daf2eca338fb SHA1 e43f79ad9249fe71dc2580d21dc4ca116c03e700 SHA256 c9a7f63b3642fcf0b8130354c2e3ea263cc7160aef8205e9d1fc0a8ebccdb6de +DIST eagle-lin-ger-4.16r1.tgz 8695183 RMD160 1e81ef99872c78b5eebc5f4169260c2597effec5 SHA1 b4e663ea5188d9793ba88ef7121bf12a8f13bff1 SHA256 de5a6a4f064920c9aa2dd00dcdab584967fb66db62251e1f846c12b57e36b1ad +EBUILD eagle-4.16_p1.ebuild 1917 RMD160 0738a099679a19c97e42f4e527a603662c0307ef SHA1 b35610f6f39daba23209ab49f76cba185446860c SHA256 eee2004be1d2a9ab7f8cb54d89b7185ec520408c4e022dafbb6835c9b9d41d28 +MD5 52c2b02537590ba106ec37f30230b948 eagle-4.16_p1.ebuild 1917 +RMD160 0738a099679a19c97e42f4e527a603662c0307ef eagle-4.16_p1.ebuild 1917 +SHA256 eee2004be1d2a9ab7f8cb54d89b7185ec520408c4e022dafbb6835c9b9d41d28 eagle-4.16_p1.ebuild 1917 +MISC ChangeLog 438 RMD160 f1e67c9fd3600d11d81abc03ba338a6bbc4dafa2 SHA1 02b33fa8d6fe60065132d426423f965a5227e4ef SHA256 5403074dd51b05bf5643006846a274654ce1d5b09aef4e74ecd6a95da1d4a1b3 +MD5 f2e411aacdb9c8e3d193c01abc954d7b ChangeLog 438 +RMD160 f1e67c9fd3600d11d81abc03ba338a6bbc4dafa2 ChangeLog 438 +SHA256 5403074dd51b05bf5643006846a274654ce1d5b09aef4e74ecd6a95da1d4a1b3 ChangeLog 438 +MISC metadata.xml 712 RMD160 ba4428f294188bd47984197e8a432ca73b2672e5 SHA1 bbc00fe319fb27e5c00f75187591ec790efb5372 SHA256 ffc7a68bebf6fc25e4b45d8983dd67bff57d80369449f501989c6da964b3ef42 +MD5 c5875c603041c155e9ed00dd20222cd5 metadata.xml 712 +RMD160 ba4428f294188bd47984197e8a432ca73b2672e5 metadata.xml 712 +SHA256 ffc7a68bebf6fc25e4b45d8983dd67bff57d80369449f501989c6da964b3ef42 metadata.xml 712 +MD5 fb1d7f9ad67ca081f70f0bf7c8ee4cbf files/digest-eagle-4.16_p1 1114 +RMD160 b08c6e7ee4073b8345ad4ced5dba302b58a306d0 files/digest-eagle-4.16_p1 1114 +SHA256 59f5492fc61f15c338204b97eb7581bb40b5d39aa150f93d6f0a85e5c85114df files/digest-eagle-4.16_p1 1114 diff --git a/sci-electronics/eagle/eagle-4.16_p1.ebuild b/sci-electronics/eagle/eagle-4.16_p1.ebuild new file mode 100644 index 000000000000..64c0589dfd62 --- /dev/null +++ b/sci-electronics/eagle/eagle-4.16_p1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p1.ebuild,v 1.1 2006/12/06 02:34:38 nixphoeni Exp $ + +inherit eutils + +DESCRIPTION="EAGLE Layout Editor" +HOMEPAGE="http://www.cadsoft.de" + +KEYWORDS="~x86" +IUSE="linguas_de doc" +LICENSE="cadsoft" +RESTRICT="strip" +SLOT="0" + +MY_PV=${PV/_p/r} +MANDOC="cadsoft_eagle_manual" +MANVER="2006.04.03" + +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 + + insinto /etc/env.d + echo -e "PATH=${INSTALLDIR}/bin\nROOTPATH=${INSTALLDIR}/bin" > "${S}"/90eagle + doins "${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_p1 b/sci-electronics/eagle/files/digest-eagle-4.16_p1 new file mode 100644 index 000000000000..b72db1e0643b --- /dev/null +++ b/sci-electronics/eagle/files/digest-eagle-4.16_p1 @@ -0,0 +1,12 @@ +MD5 1e85f214b4229023ec22167ee8c6b485 cadsoft_eagle_manual-eng-2006.04.03.pdf 1875608 +RMD160 a5a8cf52cb3c027dcf9e38638813db9fc5728be7 cadsoft_eagle_manual-eng-2006.04.03.pdf 1875608 +SHA256 805fbef15bd4584f6a976d8a2cc672f00ce3ad32d018ce53b7c9ce80b9965733 cadsoft_eagle_manual-eng-2006.04.03.pdf 1875608 +MD5 bc5a380e943e741b4b85f6c9e8b23ddc cadsoft_eagle_manual-ger-2006.04.03.pdf 3178176 +RMD160 79e021301507e12fefec3d227f0e3a495f12b42b cadsoft_eagle_manual-ger-2006.04.03.pdf 3178176 +SHA256 1b2bba3af2bfa14194a17aa0218101f934204e54b207c0617b7d86a522ea55cd cadsoft_eagle_manual-ger-2006.04.03.pdf 3178176 +MD5 b98c44eb0955adb632d2845c8e9adc2e eagle-lin-eng-4.16r1.tgz 8595252 +RMD160 a7ebd46e1699da846c397df1a068daf2eca338fb eagle-lin-eng-4.16r1.tgz 8595252 +SHA256 c9a7f63b3642fcf0b8130354c2e3ea263cc7160aef8205e9d1fc0a8ebccdb6de eagle-lin-eng-4.16r1.tgz 8595252 +MD5 b5851be2fe0766f623ff0a4250b7316e eagle-lin-ger-4.16r1.tgz 8695183 +RMD160 1e81ef99872c78b5eebc5f4169260c2597effec5 eagle-lin-ger-4.16r1.tgz 8695183 +SHA256 de5a6a4f064920c9aa2dd00dcdab584967fb66db62251e1f846c12b57e36b1ad eagle-lin-ger-4.16r1.tgz 8695183 diff --git a/sci-electronics/eagle/metadata.xml b/sci-electronics/eagle/metadata.xml new file mode 100644 index 000000000000..3243505d178b --- /dev/null +++ b/sci-electronics/eagle/metadata.xml @@ -0,0 +1,14 @@ + + + + sci + nixphoeni@gentoo.org + 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. + + -- 2.26.2