guru/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild
Lucio Sauer 89e81076ba
dev-libs/*: fix variable order
Manually went through some entries for `pkgcheck scan -c
VariableOrderCheck`.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-05-13 18:18:19 -04:00

41 lines
863 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
URELEASE="groovy"
inherit cmake
# 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"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="doc"
RESTRICT="mirror"
DEPEND="
dev-libs/boost
doc? ( app-text/doxygen )
"
MAKEOPTS="${MAKEOPTS} -j1"
src_prepare() {
use !doc && truncate -s0 doc/CMakeLists.txt
#Remove the test from the build
truncate -s0 tests/CMakeLists.txt
cmake_src_prepare
}