diff options
author | Matthew Smith <matthew@gentoo.org> | 2022-08-24 18:40:02 +0100 |
---|---|---|
committer | Matthew Smith <matthew@gentoo.org> | 2022-08-24 18:40:02 +0100 |
commit | 4329dcd037fa49a29d916b885de58528d65dfb6e (patch) | |
tree | d4a56f9e887e6d4683c99950e0aa69ddc330d8fa /dev-embedded | |
parent | dev-go/go-critic: new package, add 0.6.4 (diff) | |
download | gentoo-4329dcd037fa49a29d916b885de58528d65dfb6e.tar.gz gentoo-4329dcd037fa49a29d916b885de58528d65dfb6e.tar.bz2 gentoo-4329dcd037fa49a29d916b885de58528d65dfb6e.zip |
dev-embedded/picotool: new package, add 1.1.0
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/picotool/Manifest | 2 | ||||
-rw-r--r-- | dev-embedded/picotool/metadata.xml | 11 | ||||
-rw-r--r-- | dev-embedded/picotool/picotool-1.1.0.ebuild | 35 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-embedded/picotool/Manifest b/dev-embedded/picotool/Manifest new file mode 100644 index 000000000000..be1eb2c00070 --- /dev/null +++ b/dev-embedded/picotool/Manifest @@ -0,0 +1,2 @@ +DIST pico-sdk-1.4.0.tar.gz 959068 BLAKE2B 95c5e61c4d66c345daa4b8aff8e9e2cd90bcc722289ac67c1a18ce00dfa02ef7fb07512a0fdc7558f989746c215cff31979f1ad8a582e20ff2d151fdd109914f SHA512 4be28cf41e5b808a504b4c949f6c3e9fbc425beb4f838a7898bfd78925cc54e0390ff56c036bc7f60a26efac0d6c1bd811b27f7b60a1c8d7bb4750f3fa37690e +DIST picotool-1.1.0.tar.gz 43994 BLAKE2B 2b8536540be912418be1f0f0d93bb59b9cd4832ce46854478fb0bfbcb4463b49e4806068897a1d665b73ea7a764bf0d96f0a56cde01ef6503c74e1eadc4ed9c2 SHA512 5c13a88e90baed28cf435c7641a84c1c814fc473d57f2502ebb594d84c71bbe82632bf0d24b7755ebfec270d85f4588c488917a224b68c93f40573e956026efc diff --git a/dev-embedded/picotool/metadata.xml b/dev-embedded/picotool/metadata.xml new file mode 100644 index 000000000000..a1594d39f6a9 --- /dev/null +++ b/dev-embedded/picotool/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>matthew@gentoo.org</email> + <name>Matthew Smith</name> + </maintainer> + <upstream> + <remote-id type="github">raspberrypi/picotool</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-embedded/picotool/picotool-1.1.0.ebuild b/dev-embedded/picotool/picotool-1.1.0.ebuild new file mode 100644 index 000000000000..87931418a258 --- /dev/null +++ b/dev-embedded/picotool/picotool-1.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +SDK_PV=1.4.0 +SDK_PN=pico-sdk +SDK_P=${SDK_PN}-${SDK_PV} + +DESCRIPTION="tool for interacting with rp2040 devices and binaries" +HOMEPAGE="https://github.com/raspberrypi/picotool" +SRC_URI=" + https://github.com/raspberrypi/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/raspberrypi/${SDK_PN}/archive/refs/tags/${SDK_PV}.tar.gz -> ${SDK_P}.tar.gz +" + +# picotool (BSD) +# |- clipp (MIT) +# |- pico-sdk (BSD) +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="virtual/libusb:1" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DPICO_SDK_PATH="${WORKDIR}"/${SDK_P} + ) + cmake_src_configure +} |