diff --git a/dev-libs/properties-cpp/Manifest b/dev-libs/properties-cpp/Manifest new file mode 100644 index 0000000..e7da125 --- /dev/null +++ b/dev-libs/properties-cpp/Manifest @@ -0,0 +1 @@ +DIST properties-cpp_0.0.2.orig.tar.gz 41108 BLAKE2B d5239c27578d524079d1475b851939c0daac8fd71f46da34427cc9888739a52682aaa55e678f07c9ea01aa635a5a62886f5a104162e3220d0a6917f4178c11ca SHA512 7ec94ce495c9630d5acc0b98051b31e7eb3e50fef9dff3a476cd91ca912937f48826fbdab57907b042b13e29786dcb3483151690374b0e09d6e1c12c6329df5a diff --git a/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild b/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild new file mode 100644 index 0000000..1c7d9ce --- /dev/null +++ b/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +URELEASE="groovy" +inherit cmake-utils + +# Handle version strings here so as not to use 'ubuntu-versionator' eclass # +MY_PV="${PV:0:5}" +MY_P="${PN}-${MY_PV}" +UVER="-${PVR_PL_MINOR}" + +DESCRIPTION="Simple convenience library for handling properties and signals in C++11" +HOMEPAGE="https://launchpad.net/properties-cpp" +SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.orig.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm ~arm64" +IUSE="doc test" +RESTRICT="mirror" + +DEPEND="dev-libs/boost + doc? ( app-doc/doxygen ) + test? ( >=dev-cpp/gtest-1.8.1 )" + +S="${WORKDIR}/${MY_P}" +MAKEOPTS="${MAKEOPTS} -j1" + +src_prepare() { + use !doc && truncate -s0 doc/CMakeLists.txt + use !test && truncate -s0 tests/CMakeLists.txt + cmake-utils_src_prepare +}