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

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

@@ -0,0 +1 @@
DIST atl-2.2.1.gh.tar.gz 36765 BLAKE2B 6bba939452f86e1021555e860704a76a28f99dee575d8d3ea8bd431ff2b37ac27bf60745af625fd69980d8bfea46d620f5de7a2d68371a4bbaba06bab8a3f331 SHA512 c0372fa1e16e674a6d079dfd783a383bea4283c6b25e379d94e09100ae3c9195112fdade2551e16e435475e04af9086f51a370181d93c6c927677c7f14de5a61

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
}

15
dev-libs/atl/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/atl/issues</bugs-to>
<remote-id type="github">GTKorvo/atl</remote-id>
</upstream>
<use>
<flag name="utilities">Build utilities</flag>
</use>
</pkgmetadata>