msp430-gcc-support-files-1.212.ebuild 994 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2026 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. DESCRIPTION="TI MSP430 device headers, linker scripts and devices.csv for msp430-elf-gcc"
  5. HOMEPAGE="https://www.ti.com/tool/MSP430-GCC-OPENSOURCE"
  6. SRC_URI="https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-support-files-${PV}.zip"
  7. # Device headers are BSD-3-Clause licensed by Texas Instruments.
  8. LICENSE="BSD"
  9. SLOT="0"
  10. # 'amd64' is a blessed placeholder for crossdev, see bug #620316#c5.
  11. KEYWORDS="amd64"
  12. BDEPEND="app-arch/unzip"
  13. RDEPEND="sys-devel/crossdev"
  14. S="${WORKDIR}/msp430-gcc-support-files"
  15. src_install() {
  16. # <msp430.h> and <msp430*.h> must be on the default include path.
  17. insinto /usr/msp430-elf/include
  18. doins include/*.h include/devices.csv
  19. # Per-device linker scripts (and their *_symbols.ld) are found via -L.
  20. insinto /usr/msp430-elf/lib
  21. doins include/*.ld
  22. dodoc Revisions_Header.txt
  23. }