commit: 84c99e7aeda1c928a028ced8cd4cd2a558425482 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sun Jun 5 21:04:53 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sun Jun 5 21:04:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84c99e7a
dev-libs/ffs: new package, add 1.6.0 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-libs/ffs/Manifest | 1 + dev-libs/ffs/ffs-1.6.0.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++ dev-libs/ffs/metadata.xml | 15 +++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/dev-libs/ffs/Manifest b/dev-libs/ffs/Manifest new file mode 100644 index 000000000..0fa1094a5 --- /dev/null +++ b/dev-libs/ffs/Manifest @@ -0,0 +1 @@ +DIST ffs-1.6.0.gh.tar.gz 1127791 BLAKE2B 65f97569ee924d8e6b44f16127c8d0f1e0d7fcc6a5304f48486a006a07ee0cbc161073d559f8b60567d04c83a4aca9128586300b6ad7571913524d24a01c3395 SHA512 2c50be7b1cc8a024d4e0120791fa0838a287cd1bdeb3055d5698f7c6c130a80434821bc922a2597ec02ecb2cd7921e07d16118b1c48ba86be3bd7fd63787f6f2 diff --git a/dev-libs/ffs/ffs-1.6.0.ebuild b/dev-libs/ffs/ffs-1.6.0.ebuild new file mode 100644 index 000000000..034d4b01d --- /dev/null +++ b/dev-libs/ffs/ffs-1.6.0.ebuild @@ -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 +} diff --git a/dev-libs/ffs/metadata.xml b/dev-libs/ffs/metadata.xml new file mode 100644 index 000000000..c3bb3becf --- /dev/null +++ b/dev-libs/ffs/metadata.xml @@ -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>lssndrbarbi...@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>