diff options
author | andy <andy@mailbox.tu-berlin.de> | 2013-03-01 17:54:28 +0100 |
---|---|---|
committer | andy <andy@mailbox.tu-berlin.de> | 2013-03-01 17:54:28 +0100 |
commit | 167e55110b2bdc43403846d5b45e00db8ab02d74 (patch) | |
tree | c6069661cce149fe7afd4489955cfd0f998b905a | |
parent | removed thinkfan (diff) | |
download | andy-167e55110b2bdc43403846d5b45e00db8ab02d74.tar.gz andy-167e55110b2bdc43403846d5b45e00db8ab02d74.tar.bz2 andy-167e55110b2bdc43403846d5b45e00db8ab02d74.zip |
updated jlink ebuild
-rw-r--r-- | dev-embedded/jlink/Manifest | 6 | ||||
-rwxr-xr-x | dev-embedded/jlink/files/JLinkExe | 8 | ||||
-rwxr-xr-x | dev-embedded/jlink/files/JLinkGDBServer | 8 | ||||
-rw-r--r-- | dev-embedded/jlink/jlink-4.50.9.ebuild | 61 | ||||
-rw-r--r-- | dev-embedded/jlink/jlink-4.62.1.ebuild | 69 |
5 files changed, 71 insertions, 81 deletions
diff --git a/dev-embedded/jlink/Manifest b/dev-embedded/jlink/Manifest index 3ef6b41..1d4be6d 100644 --- a/dev-embedded/jlink/Manifest +++ b/dev-embedded/jlink/Manifest @@ -1,4 +1,2 @@ -AUX JLinkExe 107 SHA256 f96b544f0eb1aca665e5df552f87aab0490397ecabf4e035be19e282eb275470 SHA512 d845f2734325c81ccaabf258388971ebd0df50244e8ded908f005a0ac042944d910c232fca6e9c045978837edab08acc10485bd852cf054260bf4856c7f333a9 WHIRLPOOL 5bd1f52f43c01ae04233df2cfcc59dd4bb30f1c4c82291d10bed9e836de34ef29410fc10ce31bf9066b6cec0fe6ba4a45fb9f0c483eb48224f1a306e6e185c62 -AUX JLinkGDBServer 113 SHA256 e3a2cd09cb3149e5cbb8ec38dd5995b67ced6dd92032530ed32e33a2667af4f0 SHA512 712eec1ef383964984b7817ff99aee8ee93f8ad755cef111fd73b4fffe823ac733f8d97bca1a41b7ab2228fe1f06e17f45161b7e0c6abeb49e423c9905c34a60 WHIRLPOOL 5d087429beb389a74a64a8942dfd3241581e044f5f2999079cecad2352db3632b6445d4f59f35f34de440989199bf37a52f750524c67588da042bab59bd50e89 -DIST JLink_Linux_V450i.tgz 2023433 SHA256 81fec304815e48ea9841c56302eb18cce3051729bb88810628efab929bfc216c SHA512 fa3227b0ad83833a5585a0d42d747d86d46f36a896819479b844ae003fb3f91c010cb19eccfb22ce71c901396dbccb355c6534ec9757fb74458a5802d817a301 WHIRLPOOL e33914fcc86b6c22a4136ee793b0ab6f8263b79ec6e1a616213ed2010d09183ff106f611ea63911f1455f1c5665316da195660422e588de9a3b8ac18620fdba7 -EBUILD jlink-4.50.9.ebuild 1446 SHA256 c18a6f5b3eaa800bffbd7322c1a64a0f32180ca4bcce6125f5d255565445449b SHA512 02a56a1a2729a5598a68a86c154b6f12719cd4e490fc07b9aebefb91824da48b6ab65791bd2ef59ef8b44d578f6a0019f8de1e9c47e8c0a3bf60d2b87d298ce3 WHIRLPOOL 9adce674cdec3a268d59f4a97ee2f55251210758505d3a51d4014b1e1afb064fea3acdf145298717aef2938ae69da8e73250243f9bfcfc275daf3131817626ca +DIST JLink_Linux_V462a.tgz 5397885 SHA256 644cfe330894f275c96ffa285b848265c4d845a3011d81a2085a33375e03ebcb SHA512 ff84ee34da514cb13062896a01ac0bb85d2d85ad1246a7da41f77c2c8505cab51c94ff7d73efc1dab391fc8f32d83c861b586f3e0846c069fe14f99caea40bdd WHIRLPOOL 2f067b50168112f52555880b37a3b99d95b430eb878d0643cf6a25e6aed05988723cd7b6e61c5842804b6ea92edd29954e84a096abef161a79329a6558eb7bd1 +EBUILD jlink-4.62.1.ebuild 1812 SHA256 39f234e4f75cd160cae1179a5edc7a2732ec2e1477ecab8f20e8ebd8648b1da7 SHA512 760ec96b7fc8a540bb8ea8bd0536ea6fc73642000bd92e6bd1e4a05433ff60ec3e70b44eb8e7881ebc27b3fac76462f5b58f79823dc8816157802f508ab9514a WHIRLPOOL 1f95ddfc56b220bd5fb2007c6a816e40c51a446741f25ca62a5ea113d69104c6b874e55f30d77c5c9b76f06573caba36f118510196e3c6c3255edba5680373e3 diff --git a/dev-embedded/jlink/files/JLinkExe b/dev-embedded/jlink/files/JLinkExe deleted file mode 100755 index 857a68d..0000000 --- a/dev-embedded/jlink/files/JLinkExe +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# -# Run JLink_EXE -# -export LD_LIBRARY_PATH=/opt/jlink/lib:$LD_LIBRARY_PATH -/opt/jlink/JLinkExe - diff --git a/dev-embedded/jlink/files/JLinkGDBServer b/dev-embedded/jlink/files/JLinkGDBServer deleted file mode 100755 index b238c96..0000000 --- a/dev-embedded/jlink/files/JLinkGDBServer +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# -# Run JLink_EXE -# -export LD_LIBRARY_PATH=/opt/jlink/lib:$LD_LIBRARY_PATH -/opt/jlink/JLinkGDBServer - diff --git a/dev-embedded/jlink/jlink-4.50.9.ebuild b/dev-embedded/jlink/jlink-4.50.9.ebuild deleted file mode 100644 index efd7faf..0000000 --- a/dev-embedded/jlink/jlink-4.50.9.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit versionator - -MY_MINOR="$(get_version_component_range 3-3)" -MY_SUBPV="$(printf \\$(printf '%03o' $((96+${MY_MINOR}))))" -MINOR_CHAR_VERSION="${MY_SUBPV}" - -MY_PV="V$(get_major_version)$(get_version_component_range 2-2)${MINOR_CHAR_VERSION}" -FILENAME="JLink_Linux_${MY_PV}" -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="${FILENAME}.tgz" - -LICENSE="J-Link EDU Terms of Use" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -RESTRICT="fetch strip" -DEPEND="" -RDEPEND="${DEPEND} - amd64? ( app-emulation/emul-linux-x86-xlibs )" - -S=${WORKDIR} - -src_install() { - cd "${S}/${FILENAME}" - - dodir ${INSTALLDIR} - dodir ${INSTALLDIR}/lib - dodir ${INSTALLDIR}/doc - dodir ${INSTALLDIR}/share - - cp lib* "${D}/${INSTALLDIR}/lib" || die "dolib failed" - - docinto ${INSTALLDIR}/doc - dodoc README || die "dodoc failed" - - insinto ${INSTALLDIR}/share - doins -r Samples || die "doins failed" - - exeinto ${INSTALLDIR} - doexe JLinkExe JLinkGDBServer || die "doexe failed" - - insinto /lib/udev/rules.d/ - doins 45-jlink.rules || die "doins udev rules failed" - - dosym /lib32/libreadline.so.6 ${INSTALLDIR}/lib/libreadline.so.5 || die "dosym failed" - - exeinto /usr/bin - doexe "${FILESDIR}/JLinkExe" - doexe "${FILESDIR}/JLinkGDBServer" -} - diff --git a/dev-embedded/jlink/jlink-4.62.1.ebuild b/dev-embedded/jlink/jlink-4.62.1.ebuild new file mode 100644 index 0000000..719296e --- /dev/null +++ b/dev-embedded/jlink/jlink-4.62.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit versionator + +MY_MINOR="$(get_version_component_range 2-2)" +MY_SUBMINOR="$(get_version_component_range 3-3)" +MY_SUBMINOR_CHAR="$(printf \\$(printf '%03o' $((96+${MY_SUBMINOR}))))" + +MY_PV="$(get_major_version)${MY_MINOR}${MY_SUBMINOR_CHAR}" +FILENAME="JLink_Linux_V${MY_PV}" +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="${FILENAME}.tgz" + +LICENSE="J-Link EDU Terms of Use" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RESTRICT="fetch strip" +DEPEND="" +RDEPEND="${DEPEND} + amd64? ( app-emulation/emul-linux-x86-xlibs )" + +S=${WORKDIR}/${FILENAME} + +src_install() { + dodir ${INSTALLDIR} || die + dodir ${INSTALLDIR}/lib || die + dodir ${INSTALLDIR}/doc || die + + local BINS="JLinkExe JLinkGDBServer JLinkRemoteServer" + for wrapper in $BINS ; do + make_wrapper $wrapper ./$wrapper ${INSTALLDIR} lib + done + + exeinto ${INSTALLDIR} + doexe $BINS || die + + exeinto ${INSTALLDIR}/lib + doexe "libjlinkarm.so.${PV}" || die + dosym "libjlinkarm.so.${PV}" ${INSTALLDIR}/lib/libjlinkarm.so.$(get_major_version) || die + if use amd64; then + dosym /lib32/libreadline.so.6 ${INSTALLDIR}/lib/libreadline.so.5 || die + fi + + insinto ${INSTALLDIR}/doc + doins README.txt || die + doins Doc/{UM08001_JLinkARM.pdf,UM08005_JLinkGDBServer.pdf} || die + doins Doc/ReleaseNotes/ReleaseJLinkARM.html || die + + insinto ${INSTALLDIR} + doins -r Samples || die "doins failed" + + insinto /lib/udev/rules.d/ + doins 45-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." +} |