summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy <andy@mailbox.tu-berlin.de>2013-09-16 18:34:43 +0200
committerandy <andy@mailbox.tu-berlin.de>2013-09-16 18:34:43 +0200
commit002bda2bab3d334882b81789b13644160debf998 (patch)
treee4b964a3ef5890f34915d36aed0eaca8d22a79f9
parentadded icat (diff)
downloadandy-002bda2bab3d334882b81789b13644160debf998.tar.gz
andy-002bda2bab3d334882b81789b13644160debf998.tar.bz2
andy-002bda2bab3d334882b81789b13644160debf998.zip
updated jlink
-rw-r--r--dev-embedded/jlink/Manifest6
-rw-r--r--dev-embedded/jlink/jlink-4.50.9.ebuild62
-rw-r--r--dev-embedded/jlink/jlink-4.62a.ebuild64
-rw-r--r--dev-embedded/jlink/jlink-4.74.ebuild72
4 files changed, 203 insertions, 1 deletions
diff --git a/dev-embedded/jlink/Manifest b/dev-embedded/jlink/Manifest
index 1d4be6d..849807c 100644
--- a/dev-embedded/jlink/Manifest
+++ b/dev-embedded/jlink/Manifest
@@ -1,2 +1,6 @@
+DIST JLink_Linux_V450i.tgz 2023433 SHA256 81fec304815e48ea9841c56302eb18cce3051729bb88810628efab929bfc216c SHA512 fa3227b0ad83833a5585a0d42d747d86d46f36a896819479b844ae003fb3f91c010cb19eccfb22ce71c901396dbccb355c6534ec9757fb74458a5802d817a301 WHIRLPOOL e33914fcc86b6c22a4136ee793b0ab6f8263b79ec6e1a616213ed2010d09183ff106f611ea63911f1455f1c5665316da195660422e588de9a3b8ac18620fdba7
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
+DIST JLink_Linux_V474.tgz 5626682 SHA256 839d90c3e1927dfbb7c24895d12b26590874ae4ee32de27d09c0643ed79fb5d5 SHA512 f8f3f3e9e30b50a105cb048ddfe51a8f24e877da566b4faafc03a2c70037fc98c5d53a8553817a8629bed4814f4c1d924630e416df9005b681fcd69f70554997 WHIRLPOOL ef5d500c05e98864927cdfaf1b994f1b0b23791de363fa624c660543d51df7955d69ef54da78bfdd6f00b29c6483c83657600c68c677f61f2857d2824dedace8
+EBUILD jlink-4.50.9.ebuild 1518 SHA256 93ea98321802cecba9a908941a15b0c194e201a92e799f70e0b48e6ecab980fe SHA512 d190f2c24913790dbae89e29acf51ade2b9883b52381aa47d275aed72aac40f091e764b6c06446b377abb7cd55c7ee49eda8f09562bf64e24ba0ca9aca650323 WHIRLPOOL 58fe3714d0837d014e2e7a5eec7239e711d30f761ff52fa8e488f64072efe87a35abade051f2f3ec182eb994ade6d6b652f6cfa551d7038381033c49b4fe0438
+EBUILD jlink-4.62a.ebuild 1570 SHA256 ae3a706b38b345f0ea27faf665de5ee775ca871f5090c1cf29901fd61ba94383 SHA512 4715c63f53eff96fc58a2ed916a5a71aef045e95709ad8b93765a0905443eae2be8ee8024927591702250e943b1fd76a9f9a7a64eaae6037cc751e4cbb07fdb9 WHIRLPOOL 008c1ab08194d9b7bab94ada02f800a1fb94fa154296609137a30073037ad441f9eabccf7304acbf8efe556ad9efd7db42eca2e3ba2ae35db52071d1458a8c0b
+EBUILD jlink-4.74.ebuild 1878 SHA256 b76410baabaf4483c7789b81e8662df50731ac49bc68785626903fa15a484ed0 SHA512 02fe3b9ee1a7eadfac1318653efdf0f5e241e5f04b1568dae70a58c795ac34b4751a969d1072c47b38a606ca1a6f8a6650201f7f8dc664848e345ebf4b3af568 WHIRLPOOL 7f4b71ad823178b4070d8ad9043de14b07c63759cbedac9f476f0d2654134d4308a5486ab166657c96ac1858986b6f6f1a30217c0380ed72f38b5926d40cbb8f
diff --git a/dev-embedded/jlink/jlink-4.50.9.ebuild b/dev-embedded/jlink/jlink-4.50.9.ebuild
new file mode 100644
index 0000000..438a22f
--- /dev/null
+++ b/dev-embedded/jlink/jlink-4.50.9.ebuild
@@ -0,0 +1,62 @@
+# 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"
+
+ sed -i -e "s/SYSFS/ATTRS/g" -e "s/sysfs/attrs/g" 45-jlink.rules || die
+ 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.62a.ebuild b/dev-embedded/jlink/jlink-4.62a.ebuild
new file mode 100644
index 0000000..de22686
--- /dev/null
+++ b/dev-embedded/jlink/jlink-4.62a.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils
+
+FILENAME="JLink_Linux_V${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.${PV:0:1} || 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."
+}
diff --git a/dev-embedded/jlink/jlink-4.74.ebuild b/dev-embedded/jlink/jlink-4.74.ebuild
new file mode 100644
index 0000000..51b481f
--- /dev/null
+++ b/dev-embedded/jlink/jlink-4.74.ebuild
@@ -0,0 +1,72 @@
+# 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)"
+if [[ ${MY_SUBMINOR} =~ ^-?[0-9]+$ ]]
+then
+ MY_SUBMINOR_CHAR="$(printf \\$(printf '%03o' $((96+${MY_SUBMINOR}))))"
+fi
+
+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 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}.0" || die
+ dosym "libjlinkarm.so.${PV}.0" ${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."
+}