diff options
Diffstat (limited to 'net-misc/bgpq3/bgpq3-0.1.33.ebuild')
-rw-r--r-- | net-misc/bgpq3/bgpq3-0.1.33.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/bgpq3/bgpq3-0.1.33.ebuild b/net-misc/bgpq3/bgpq3-0.1.33.ebuild new file mode 100644 index 000000000000..3c1cd11d960a --- /dev/null +++ b/net-misc/bgpq3/bgpq3-0.1.33.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +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' + eapply_user + eautoreconf +} + +src_install() { + dobin bgpq3 + doman bgpq3.8 + dodoc CHANGES + dohtml *.html +} |