diff options
author | Joe Sapp <nixphoeni@gentoo.org> | 2009-02-07 20:47:28 +0000 |
---|---|---|
committer | Joe Sapp <nixphoeni@gentoo.org> | 2009-02-07 20:47:28 +0000 |
commit | d2fd319184275507cd0e36e53d16d2aef3b01b7a (patch) | |
tree | 769c0062e9b99e338a1718595db47fa23d0c7b26 /sci-electronics | |
parent | Initial ebuild by me. (diff) | |
download | historical-d2fd319184275507cd0e36e53d16d2aef3b01b7a.tar.gz historical-d2fd319184275507cd0e36e53d16d2aef3b01b7a.tar.bz2 historical-d2fd319184275507cd0e36e53d16d2aef3b01b7a.zip |
Version bump
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/eagle/ChangeLog | 9 | ||||
-rw-r--r-- | sci-electronics/eagle/Manifest | 4 | ||||
-rw-r--r-- | sci-electronics/eagle/eagle-5.4.0.ebuild | 91 |
3 files changed, 101 insertions, 3 deletions
diff --git a/sci-electronics/eagle/ChangeLog b/sci-electronics/eagle/ChangeLog index 3ef75ef9f8fb..ee2c1c8a30ec 100644 --- a/sci-electronics/eagle/ChangeLog +++ b/sci-electronics/eagle/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/eagle -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.17 2008/11/11 01:58:31 nixphoeni Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.18 2009/02/07 20:47:28 nixphoeni Exp $ + +*eagle-5.4.0 (07 Feb 2009) + + 07 Feb 2009; Joe Sapp <nixphoeni@gentoo.org> +eagle-5.4.0.ebuild: + Version bump *eagle-5.3.0 (11 Nov 2008) diff --git a/sci-electronics/eagle/Manifest b/sci-electronics/eagle/Manifest index ec4b7a78de94..aa3efe8fae64 100644 --- a/sci-electronics/eagle/Manifest +++ b/sci-electronics/eagle/Manifest @@ -4,11 +4,13 @@ DIST cadsoft_eagle_manual-ger-2006.12.13.pdf 3178176 RMD160 79e021301507e12fefec DIST eagle-lin-5.1.0.run 25124088 RMD160 fcd535c180e84e93c12bcb60abecfe7dd4e39ef1 SHA1 c2c034510db362b951af856a4d61a564848476c7 SHA256 b6fa8b46e78d9e7734f8b37af0f8e7eae6edfd566330fa8902c9c76d55850669 DIST eagle-lin-5.2.0.run 25375570 RMD160 b1e885263226a06d961b4c8302ae72f599910144 SHA1 fb50076ab824612a9b545ed6d47247db3f4d7a63 SHA256 87ce2186c13e332907ba764f1bc1371d10efb177709ceae82bac8a4fbecda3af DIST eagle-lin-5.3.0.run 25384196 RMD160 b1260e9fc25a912653edd8a30f11dc1ff5b289f3 SHA1 c5106f7e5253d80c41fb2ecee14d229f09bb561a SHA256 2a98216462b5361b683afa35ea251f1e9930456d8efd95a8f2e3823a66106e7b +DIST eagle-lin-5.4.0.run 25554470 RMD160 2ee87b967329169ebe9ac308438dfde1a574b17e SHA1 072c4d247d71b76bc3f4ec80cfeb6110501f5911 SHA256 844a84a88f25480575e4896ed7ef0e1c676bc2bdf342ce10f24c8d9e8434ad61 DIST eagle-lin-eng-4.16r2.tgz 8922532 RMD160 32449bbed7df918e7825cd91f1c559cc0d8966f9 SHA1 42c2f619d8f765c5c9feaa1d7f75583c02f3ff6b SHA256 dc71102780621022c5f3b124bbcde075f23d3e04d624a2985afa733fbae8c7e4 DIST eagle-lin-ger-4.16r2.tgz 9018957 RMD160 e6d978c131c5af767f2c6bcee52907460de121d7 SHA1 a7f96eb95ec6eb61f1d043501d6d4fa0fb512706 SHA256 6c570e41668da23e1f473da3bfd879cbeb76bea02d35ae13970db48b3aa36259 EBUILD eagle-4.16_p2-r2.ebuild 2614 RMD160 7fd9d3c6ea355a409ab772a1e27f5e347ab1ed72 SHA1 3f62072cebb73af6d8c01d2573634d142b28f8e1 SHA256 7a855cc18031be9733d96ba074ca5396c1e9467f7f2927d5fba90e7987ff4869 EBUILD eagle-5.1.0.ebuild 2586 RMD160 a8f7fc86d0e056c24b14d12d2fa385132427257b SHA1 0f68fa4cce3d6205b85c576d12f3e201b4017bb0 SHA256 d2a8bc5c94eff2072bdcebe6ef11746cf7e5d73057f1d6409f6f8182a3a9eb10 EBUILD eagle-5.2.0.ebuild 2588 RMD160 82c5e1c034bcbd743e8b173783c893f767daef4a SHA1 e94b92326b62e24c10dbdfefa4b26262d7413db0 SHA256 a7c038880a75d401274475d419f65af6331e91c6a35b295b9164dcda98d63f4b EBUILD eagle-5.3.0.ebuild 2588 RMD160 2a2026b1cf90828a212941e94f8484df0af4d5a0 SHA1 cd0ffba9302c98e117a88d4c7859b74b4a15f421 SHA256 80261e34dde9c19700e040cb0a056402e71ee33b6b6b596c2bd22238daf0209f -MISC ChangeLog 3333 RMD160 3b6bf820908ab3b8a0ab5dc3dc7993423bc80550 SHA1 d8c4591443d15a3ce706447f1d4f66b5328fe1d0 SHA256 ce9127b97e2a53a84c8439eb6a93ee32f407be55e4f32c6175dc9b0739bec1c1 +EBUILD eagle-5.4.0.ebuild 2588 RMD160 91804d473eb2217888d0145c8ecf4e77cabe2843 SHA1 5d850f1001751d8e41fa5934bcd8a6cde59d0e97 SHA256 301eddcc8afbe672403de653de82d222fd4bc2bc557d28894c6bc0122dbfff43 +MISC ChangeLog 3445 RMD160 af4ec19bfa9c6fcc707d5c666b3788fec1e1fcd8 SHA1 ed75049067dbb2e6d394567b748978b3fb37f86d SHA256 a1fcddc1af735b790b34829e4067da8687ff3ff0620b22849fa6b5a58cbbf373 MISC metadata.xml 650 RMD160 94bb3ebbd80b6819de3fca30d1da3a7c986fc130 SHA1 013c84de6fcea30c6313af7f0841d3c3ced1cc1b SHA256 474e9463b0e4fd66eac3d290fa4a8ba7b98c49ce42e085d4b7f2a6a2573c4642 diff --git a/sci-electronics/eagle/eagle-5.4.0.ebuild b/sci-electronics/eagle/eagle-5.4.0.ebuild new file mode 100644 index 000000000000..bbe96d746e89 --- /dev/null +++ b/sci-electronics/eagle/eagle-5.4.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.4.0.ebuild,v 1.1 2009/02/07 20:47:28 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" + +# Cadsoft has used the suffix "_p" in the past which we translate to "r" +MY_PV=${PV/_p/r} + +SRC_URI="ftp://ftp.cadsoft.de/pub/program/${PV%\.[0-9]}/${PN}-lin-${MY_PV}.run" + +RDEPEND="sys-libs/glibc + x11-libs/libXext + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp" + +# Append ${PV} since that's what upstream installs to +INSTALLDIR="/opt/eagle-${PV}" +case "${LINGUAS}" in + *de*) + MY_LANG="de";; + *) + MY_LANG="en";; +esac +# Mandatory documentation being installed +DOCS="README_${MY_LANG} UPDATE_${MY_LANG} library_${MY_LANG}.txt" + +src_unpack() { + + # Extract the built-in .tar.bz2 file starting at __DATA__ + sed -e '1,/^__DATA__$/d' "${DISTDIR}/${A}" | tar xj || die "unpacking failed" + +} + +src_install() { + + cd "${S}" + dodir ${INSTALLDIR} + # Copy all to INSTALLDIR + cp -r . "${D}"/${INSTALLDIR} + + # Install wrapper (suppressing leading tabs) + # see bug #188368 or http://www.cadsoft.de/faq.htm#17040701 + exeinto /usr/bin + newexe "${FILESDIR}/eagle_wrapper_script" eagle + # Finally, append the path of the eagle binary respecting INSTALLDIR and any + # arguments passed to the script (thanks Denilson) + echo "${INSTALLDIR}/bin/eagle" '"$@"' >> "${D}/usr/bin/eagle" + + # Install the documentation + cd doc + dodoc ${DOCS} + doman eagle.1 + # Install extra documentation if requested + use doc && dodoc elektro-tutorial.pdf manual_${MY_LANG}.pdf tutorial_${MY_LANG}.pdf + # Remove docs left in INSTALLDIR + rm -rf "${D}${INSTALLDIR}/doc" + cd .. + + echo -e "ROOTPATH=${INSTALLDIR}/bin\nPRELINK_PATH_MASK=${INSTALLDIR}" > "${S}/90eagle" + doenvd "${S}/90eagle" + + # Create desktop entry + doicon bin/${PN}icon50.png + make_desktop_entry "${ROOT}/usr/bin/eagle" ${PN} ${PN}icon50.png "Graphics;Electronics" + +} + +pkg_postinst() { + + elog "Run \`env-update && source /etc/profile\` from within \${ROOT}" + elog "now to set up the correct paths." + elog "You must first run eagle as root to invoke product registration." + echo + ewarn "Due to some necessary changes in the data structure, once you edit" + ewarn "a file with version 5.x you will no longer be able to edit it" + ewarn "with versions prior to 5.0!" + ewarn + ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 4.xx." + +} |