diff options
Diffstat (limited to 'dev-embedded/jlink/jlink-4.84a.ebuild')
-rw-r--r-- | dev-embedded/jlink/jlink-4.84a.ebuild | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/dev-embedded/jlink/jlink-4.84a.ebuild b/dev-embedded/jlink/jlink-4.84a.ebuild deleted file mode 100644 index c6c0dc0..0000000 --- a/dev-embedded/jlink/jlink-4.84a.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# 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." -} |