diff options
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/librouteros/Manifest | 1 | ||||
-rw-r--r-- | net-libs/librouteros/librouteros-1.1.3.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/net-libs/librouteros/Manifest b/net-libs/librouteros/Manifest index 0a034dd5d20f..ad6ab550dc40 100644 --- a/net-libs/librouteros/Manifest +++ b/net-libs/librouteros/Manifest @@ -1 +1,2 @@ DIST librouteros-1.1.2.tar.bz2 234942 BLAKE2B e5fbb28957280798539d81fd908d9198084dbc3f15e403c7d21a3be7b0211bb2e0cc387b3e237c530454396df430dd2781d2c8184609cebd9cde906eac1288fd SHA512 b4974f84f23544276e426b94410107d24565060034423dabb49157ed2cbee8042d4d415f716fae50a757f24c87c0deab51435236a5bc1bcffe5fc888b7047fc3 +DIST librouteros-1.1.3.tar.gz 20319 BLAKE2B d7527508e671c38ba12edd924300d53b10763bf3769378df3f988a4242ab8c4604d71d6afa55e963477a04b18a6e2afdae0123072d0876b793b022857bfacf30 SHA512 ff477efdf206a7c6f062af8b8d5636b16fa9a9c5a73e49fb78df9de38346063af5bf43a2057bc0b910350c1554e9a4915c6ee5b91b3822ee5e664db8754a8126 diff --git a/net-libs/librouteros/librouteros-1.1.3.ebuild b/net-libs/librouteros/librouteros-1.1.3.ebuild new file mode 100644 index 000000000000..663f240b6072 --- /dev/null +++ b/net-libs/librouteros/librouteros-1.1.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for accessing MikroTik's RouterOS via its API" +HOMEPAGE="https://octo.github.io/librouteros/" +SRC_URI="https://github.com/octo/${PN}/archive/refs/tags/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND="dev-libs/libgcrypt:0=" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -e 's/-Werror//g' -i src/Makefile.am || die + eautoreconf +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +} |