From 65b255168ab305e053f7fa892ae7e43397fe554b Mon Sep 17 00:00:00 2001 From: andy Date: Sat, 5 Apr 2014 12:25:26 +0200 Subject: bump jlink --- dev-embedded/jlink/Manifest | 3 ++ dev-embedded/jlink/jlink-4.84a.ebuild | 71 +++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 dev-embedded/jlink/jlink-4.84a.ebuild (limited to 'dev-embedded') diff --git a/dev-embedded/jlink/Manifest b/dev-embedded/jlink/Manifest index 0bd26c6..14a920f 100644 --- a/dev-embedded/jlink/Manifest +++ b/dev-embedded/jlink/Manifest @@ -2,6 +2,9 @@ DIST JLink_Linux_V462a.tgz 5397885 SHA256 644cfe330894f275c96ffa285b848265c4d845 DIST JLink_Linux_V474.tgz 5626682 SHA256 839d90c3e1927dfbb7c24895d12b26590874ae4ee32de27d09c0643ed79fb5d5 SHA512 f8f3f3e9e30b50a105cb048ddfe51a8f24e877da566b4faafc03a2c70037fc98c5d53a8553817a8629bed4814f4c1d924630e416df9005b681fcd69f70554997 WHIRLPOOL ef5d500c05e98864927cdfaf1b994f1b0b23791de363fa624c660543d51df7955d69ef54da78bfdd6f00b29c6483c83657600c68c677f61f2857d2824dedace8 DIST JLink_Linux_V480e_i386.tgz 6146930 SHA256 f3939f97cfa4087fcce753adb8c86a4b242361602864d2d25dc5f87b2edb6301 SHA512 0edb82e279af708841436e444116d299d25370fdcd189d4594aed5d633e1c105787e7ee930693f61c05573dac9e6ce423c75241f0f22fe2baf8d55f14eda057c WHIRLPOOL 64c59cb4f9bd31856ec5f6ac6dd089a2c3ca0e132625721a81b6f245f02c067a9fe8754e1c57939bff35d15e0a756cb0388759102e8cf11c240df871b1d70106 DIST JLink_Linux_V480e_x86_64.tgz 6329325 SHA256 6ebb2f4709a3574bd81e80a7cc71a462c2f7069500e4b405ece3ac1072140181 SHA512 b9fd8614219c490a30bda36598bbaeddeeec36b669f1d4dbf4f81d246dedbd4cfdf4d940be433c15e06c84238c233c89b0aeb146411e80816b943b5ee08d9b7b WHIRLPOOL a987538573e2e6e1e0c0b43c3039153a490fcbdf5d2e84bf7bfabbe67a518ea81fb0119c0ec7efa35c511f32b6229611bebb8abeb9fe83a6daa8b14c86423076 +DIST JLink_Linux_V484a_i386.tgz 6269136 SHA256 a0e69e8be3b7fc8a614e25affd312b4298409ac24b6be8aca9cfc28937bd0058 SHA512 0b31ad7445896a72248f5d60eb1ea9e299b42f406bed19f2d2cf245d7c830d542a3b8fb139eb3cf3309693ccd80bb73f642776425da7797348a9d15c8511fbff WHIRLPOOL 4477202f244a56d0aeabb27dbc96dbd5d9c70f9d80a23c90e044a54ba26591404200e99474dbc8ddc229e2f4f941742b09b5e9f63bce963474bf5b8360df19b3 +DIST JLink_Linux_V484a_x86_64.tgz 6465452 SHA256 ae54a03010c1607cf4d3b1c9f151ec98271f6d980c0be55bbb2af94c4fa19748 SHA512 4f14bdd0d6b600b72003047820d68888181adead0ba5d5ce7bb6bc09be6c58ee347cfcab41416e7621fbc02c11ce2da7edd4684b5a012f956937df1fb8eb1ad8 WHIRLPOOL 40d8f55bc209bab4372a2886eb81e6ad43cd0199f3350e89f4c51a541c6428e76c9af5694993cfe0bd9c76985324a881fc2e5ed4562e6b83566b26e2d080eb69 EBUILD jlink-4.62a.ebuild 1570 SHA256 ae3a706b38b345f0ea27faf665de5ee775ca871f5090c1cf29901fd61ba94383 SHA512 4715c63f53eff96fc58a2ed916a5a71aef045e95709ad8b93765a0905443eae2be8ee8024927591702250e943b1fd76a9f9a7a64eaae6037cc751e4cbb07fdb9 WHIRLPOOL 008c1ab08194d9b7bab94ada02f800a1fb94fa154296609137a30073037ad441f9eabccf7304acbf8efe556ad9efd7db42eca2e3ba2ae35db52071d1458a8c0b EBUILD jlink-4.74.ebuild 1878 SHA256 b76410baabaf4483c7789b81e8662df50731ac49bc68785626903fa15a484ed0 SHA512 02fe3b9ee1a7eadfac1318653efdf0f5e241e5f04b1568dae70a58c795ac34b4751a969d1072c47b38a606ca1a6f8a6650201f7f8dc664848e345ebf4b3af568 WHIRLPOOL 7f4b71ad823178b4070d8ad9043de14b07c63759cbedac9f476f0d2654134d4308a5486ab166657c96ac1858986b6f6f1a30217c0380ed72f38b5926d40cbb8f EBUILD jlink-4.80e.ebuild 1573 SHA256 92fcf294c1ec1dd3516f3cc43ac80736159ebae80951579087195b264422f848 SHA512 f3fd7815234cd5bb95db1d006f6db36885e2a5c77276635535a9ffa5dd6db1ee35dd2ff9475bdd101b73146a75ac32b9c7585e502850f75c6ac0c1f8a5306b87 WHIRLPOOL bd8a990ffcff4f6cb10948fde52c2b81f9b9e4aee792bd4740bf19d815d9ff74b8dd5b6773fa66bd791137bca1795c9b68ef3a49ab840564f724ac3b738cd2b8 +EBUILD jlink-4.84a.ebuild 1839 SHA256 be0c5525e19d9442700381cf6d71402ade1cf637de693e731f04136778e34f9a SHA512 eb2baeabd77ea4414c8251f1fa5bfad10f9cb4939de88c6d09d53d5367d576f7dc0dfc611f259f0f496883ec6dbdb590d29f287156ed0d606b20c7a7ef986f54 WHIRLPOOL 5efd2b30caa1294464faed78041949e6357afdf22cbf079f2e45101386774388aacf311460c04983f7861f3e136e2d514c12aa69c7bf02b7e1d95e938b088529 diff --git a/dev-embedded/jlink/jlink-4.84a.ebuild b/dev-embedded/jlink/jlink-4.84a.ebuild new file mode 100644 index 0000000..c6c0dc0 --- /dev/null +++ b/dev-embedded/jlink/jlink-4.84a.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit versionator + +MY_P="JLink_Linux_V${PV/\./}_$(usex amd64 'x86_64' 'i386')" +INSTALLDIR="/opt/${PN}" + +DESCRIPTION="J-Link gdb-server and commander for Segger J-Link jtag adapter" +HOMEPAGE="http://www.segger.com/jlink-software.html" +SRC_URI="amd64? ( JLink_Linux_V${PV/\./}_x86_64.tgz ) + x86? ( JLink_Linux_V${PV/\./}_i386.tgz )" +LICENSE="J-Link Terms of Use" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +QA_PREBUILT="*" + +RESTRICT="fetch strip" +DEPEND="" +RDEPEND="${DEPEND} + dev-libs/libedit" + +S=${WORKDIR}/${MY_P} + +pkg_nofetch() { + einfo "Segger requires you to download the needed files manually after" + einfo "entering the serial number of your debugging probe." + einfo + einfo "Download ${SRC_URI}" + einfo "from ${HOMEPAGE} and place it in ${DISTDIR}" +} + +src_install() { + dodir ${INSTALLDIR} || die + dodir ${INSTALLDIR}/lib || die + dodir ${INSTALLDIR}/doc || die + + local BINS="JLinkExe JLinkGDBServer JLinkRemoteServer JLinkSWOViewer" + for wrapper in $BINS ; do + make_wrapper $wrapper ./$wrapper ${INSTALLDIR} lib + done + + exeinto ${INSTALLDIR} + doexe $BINS || die + + exeinto ${INSTALLDIR}/lib + doexe "libjlinkarm.so.${PV/[a-z]/}.1" || die + dosym "libjlinkarm.so.${PV/[a-z]/}.1" ${INSTALLDIR}/lib/libjlinkarm.so.$(get_major_version) || die + + insinto ${INSTALLDIR}/doc + doins README.txt || die + doins Doc/License.txt + doins Doc/UM08001_JLink.pdf || die + doins Doc/ReleaseNotes/ReleaseJLink.html || die + + insinto ${INSTALLDIR} + doins -r Samples || die "doins failed" + + insinto /lib/udev/rules.d/ + doins 99-jlink.rules || die "doins udev rules failed" +} + +pkg_postinst() { + enewgroup plugdev + elog "To be able to access the jlink usb adapter, you have to be" + elog "a member of the 'plugdev' group." +} -- cgit v1.2.3-65-gdbad