forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fstrm-0.6.0.ebuild
36 lines (28 loc) · 822 Bytes
/
fstrm-0.6.0.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools multilib-minimal
DESCRIPTION="Frame Streams implementation in C"
HOMEPAGE="https://github.com/farsightsec/fstrm"
SRC_URI="https://github.com/farsightsec/fstrm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
IUSE="static-libs utils"
BDEPEND="virtual/pkgconfig"
RDEPEND="utils? ( dev-libs/libevent:=[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"
src_prepare() {
default
eautoreconf
multilib_copy_sources
}
multilib_src_configure() {
econf \
$(use_enable static-libs static) \
$(use_enable utils programs)
}
multilib_src_install_all() {
default
find "${ED}" -name '*.la' -delete || die
}