diff options
-rw-r--r-- | dev-embedded/jlink/Manifest | 3 | ||||
-rw-r--r-- | dev-embedded/jlink/jlink-4.80e.ebuild | 62 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-embedded/jlink/Manifest b/dev-embedded/jlink/Manifest index 603973c..0bd26c6 100644 --- a/dev-embedded/jlink/Manifest +++ b/dev-embedded/jlink/Manifest @@ -1,4 +1,7 @@ DIST JLink_Linux_V462a.tgz 5397885 SHA256 644cfe330894f275c96ffa285b848265c4d845a3011d81a2085a33375e03ebcb SHA512 ff84ee34da514cb13062896a01ac0bb85d2d85ad1246a7da41f77c2c8505cab51c94ff7d73efc1dab391fc8f32d83c861b586f3e0846c069fe14f99caea40bdd WHIRLPOOL 2f067b50168112f52555880b37a3b99d95b430eb878d0643cf6a25e6aed05988723cd7b6e61c5842804b6ea92edd29954e84a096abef161a79329a6558eb7bd1 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 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 diff --git a/dev-embedded/jlink/jlink-4.80e.ebuild b/dev-embedded/jlink/jlink-4.80e.ebuild new file mode 100644 index 0000000..ce4e8c8 --- /dev/null +++ b/dev-embedded/jlink/jlink-4.80e.ebuild @@ -0,0 +1,62 @@ +# 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 EDU Terms of Use" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RESTRICT="fetch strip" +DEPEND="" +RDEPEND="${DEPEND} + dev-libs/libedit" + +S=${WORKDIR}/${MY_P} + +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]/}.5" || die + dosym "libjlinkarm.so.${PV/[a-z]/}.5" ${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." +} |