app-metrics/prometheus: add 3.1.0
[gentoo/gentoo.git] / app-crypt / stan / stan-0.4.1-r1.ebuild
blob2d9a98e30c579e0abe3ec755848caea6d59a0942
1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 inherit autotools
8 DESCRIPTION="Stan analyzes binary streams and calculates statistical information"
9 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
10 SRC_URI="mirror://gentoo/${P}.tar.gz"
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
16 PATCHES=(
17         "${FILESDIR}/${P}-errno.patch"
20 src_prepare() {
21         default
23         mv configure.{in,ac} || die
24         sed -i \
25                         -e "s/-O3/${CFLAGS}/" \
26                         -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" configure.ac || die
27         eautoreconf