dev-libs/atl: new package, add 2.2.1

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-06-05 20:02:47 +02:00
parent 97f98781b1
commit 5becc42e83
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Library for the creation and manipulation of lists"
HOMEPAGE="https://github.com/GTkorvo/atl"
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="test +utilities"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DATL_INSTALL_HEADERS=ON
-DATL_INSTALL_PKGCONFIG=ON
-DATL_QUIET=OFF
-DBUILD_SHARED_LIBS=ON
-DATL_LIBRARIES_ONLY=$(usex utilities 'OFF' 'ON')
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}
src_install() {
cmake_src_install
}