diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /net-misc/bgpq3/bgpq3-0.1.36.ebuild | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'net-misc/bgpq3/bgpq3-0.1.36.ebuild')
-rw-r--r-- | net-misc/bgpq3/bgpq3-0.1.36.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/bgpq3/bgpq3-0.1.36.ebuild b/net-misc/bgpq3/bgpq3-0.1.36.ebuild new file mode 100644 index 000000000000..fce4328017a3 --- /dev/null +++ b/net-misc/bgpq3/bgpq3-0.1.36.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Generate access-lists for Cisco/Juniper routers, successor of bgpq" +HOMEPAGE="https://github.com/snar/bgpq3/" +SRC_URI="https://github.com/snar/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" + +src_prepare() { + # Respect CFLAGS + sed -i \ + -e '/^CFLAGS=/s/-g //' \ + -e '/^CFLAGS=/s/ -O0//' \ + Makefile.in || die 'sed on Makefile.in failed' + + # configure.in in package is actually valid configure.ac + mv configure.in configure.ac || die + + eapply_user + eautoreconf +} + +src_install() { + dobin bgpq3 + doman bgpq3.8 + dodoc CHANGES README.md *.html +} |