Files
guru/dev-libs/ffs/ffs-1.6.0_p20220525.ebuild
Alessandro Barbieri deb63ae786 dev-libs/ffs: restrict network tests
Closes: https://bugs.gentoo.org/850451
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-06-10 18:12:42 +02:00

45 lines
847 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
COMMIT="25f9621a8a983f0e4e85a694290ab9624dd2c2bc"
DESCRIPTION="FFS is a middleware library for data communication"
HOMEPAGE="https://github.com/GTkorvo/ffs"
SRC_URI="https://github.com/GTKorvo/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+atl test"
RDEPEND="
atl? ( dev-libs/atl )
dev-libs/dill
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/bison
sys-devel/flex
"
RESTRICT="test"
PROPERTIES="test_network"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DFFS_INSTALL_PKGCONFIG=ON
-DFFS_INSTALL_HEADERS=ON
-DFFS_QUIET=OFF
-DFFS_USE_ATL=$(usex atl)
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}