diff options
author | Matthew Smith <matthew@gentoo.org> | 2022-09-09 09:47:19 +0100 |
---|---|---|
committer | Matthew Smith <matthew@gentoo.org> | 2022-09-09 10:46:17 +0100 |
commit | 04e1e679ffa0e2602c26bca0acc335d584fe5cc2 (patch) | |
tree | 93f4e7144fb061e39c61b22a0481c07066d6e1fb /dev-embedded/libjaylink | |
parent | dev-embedded/avrdude: drop 6.3-r1 (diff) | |
download | gentoo-04e1e679ffa0e2602c26bca0acc335d584fe5cc2.tar.gz gentoo-04e1e679ffa0e2602c26bca0acc335d584fe5cc2.tar.bz2 gentoo-04e1e679ffa0e2602c26bca0acc335d584fe5cc2.zip |
dev-embedded/libjaylink: add 0.3.1
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'dev-embedded/libjaylink')
-rw-r--r-- | dev-embedded/libjaylink/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/libjaylink/libjaylink-0.3.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-embedded/libjaylink/Manifest b/dev-embedded/libjaylink/Manifest index 02afd9e8d19c..d59d17908f63 100644 --- a/dev-embedded/libjaylink/Manifest +++ b/dev-embedded/libjaylink/Manifest @@ -1,2 +1,3 @@ DIST libjaylink-0.2.0.tar.bz2 59078 BLAKE2B 7928875248972bc00ec46511861e160491f7a53f729e0fbfe3a6d08335532fffc9e285e8a354a390037bebe696b6740bdc422164238947baf5e0fcf8f55c0dd5 SHA512 5a8c458982fdea2025aa3ce774d41cc58a283824dcd90a94531ee5e6ca50d9961b0ebb40a6dd3a97fdfcb44625437d685151560185449c3161fe399e0651da44 DIST libjaylink-0.3.0.tar.bz2 61075 BLAKE2B 84946fbe0a061117f92b8011c0b5eeb30f8f74817128a5fd6a6d519c7a0f07f447d87d0fe72d7a47d17ab2fa33cdc3820e0c556f75c5dedad30faf5e6cf5739d SHA512 714de9297fb59eccee7eb461f37b20459991bffd31aac8eb20014f00716bb94ff4cda96a3d1746419c7722b6b7d97e7a42df9fb3b5c4f83a3f1ac79647159426 +DIST libjaylink-0.3.1.tar.bz2 61062 BLAKE2B 7a220b7e1ae1818b9d65d6bb92b282516ce6e4144ce77ee8b77088ebc92f9a091ae04a78c043afaa90ee9f737baa7c2fcd0a9237b60662af0d858fb24cef1c5e SHA512 4964e522cb59f59db444ca350529dd3695e2ccb451f7607e2c14074bafe47688f35b2e8b3304170a611db2d21040f3f98c95def179cf4f95733287986811fd78 diff --git a/dev-embedded/libjaylink/libjaylink-0.3.1.ebuild b/dev-embedded/libjaylink/libjaylink-0.3.1.ebuild new file mode 100644 index 000000000000..8601f4cec5f0 --- /dev/null +++ b/dev-embedded/libjaylink/libjaylink-0.3.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools udev + +DESCRIPTION="Library to access J-Link devices" +HOMEPAGE="https://gitlab.zapb.de/libjaylink/libjaylink" +SRC_URI="https://gitlab.zapb.de/libjaylink/libjaylink/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Remove -Werror from CFLAGS. + sed -i '/^JAYLINK_CFLAGS=/s/ -Werror//' configure.ac || die + + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_install() { + default + udev_dorules contrib/99-${PN}.rules + find "${D}" -type f -name '*.la' -delete || die +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |