dev-libs/ffs: new package, add 1.6.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-06-05 23:04:53 +02:00
parent a223e0607f
commit 84c99e7aed
3 changed files with 60 additions and 0 deletions

1
dev-libs/ffs/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST ffs-1.6.0.gh.tar.gz 1127791 BLAKE2B 65f97569ee924d8e6b44f16127c8d0f1e0d7fcc6a5304f48486a006a07ee0cbc161073d559f8b60567d04c83a4aca9128586300b6ad7571913524d24a01c3395 SHA512 2c50be7b1cc8a024d4e0120791fa0838a287cd1bdeb3055d5698f7c6c130a80434821bc922a2597ec02ecb2cd7921e07d16118b1c48ba86be3bd7fd63787f6f2

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="FFS is a middleware library for data communication"
HOMEPAGE="https://github.com/GTkorvo/ffs"
SRC_URI="https://github.com/GTKorvo/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
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? ( test )"
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
}
src_install() {
cmake_src_install
}

15
dev-libs/ffs/metadata.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/GTKorvo/ffs/issues</bugs-to>
<remote-id type="github">GTKorvo/ffs</remote-id>
</upstream>
<use>
<flag name="atl">Enable the use of ATL</flag>
</use>
</pkgmetadata>