dev-cpp/libcutl: New package from nest

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2022-04-28 14:39:55 +02:00
parent d9880b6c05
commit e1c793b7b9
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 72 additions and 0 deletions

1
dev-cpp/libcutl/Manifest Normal file
View file

@ -0,0 +1 @@
DIST libcutl-1.11.0_p20210806.tar.gz 36439 BLAKE2B 4c85b3a34502d265d51482e9705ba552e33b39dfac79930f89fb84623766302d964b7047c3dd26d20b9d42f31c5cd207b1a31fd50026f76a9f5497ab1a43b2a4 SHA512 88fa1bd3f63a0ebd94ff7984a615a09df955c8a0c3aa0aafe1bb84b6b549388ab5117bc62a88f5c71cb44132b9933ea83823c6e1c67116947524f69fbf87a6e9

View file

@ -0,0 +1,51 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multiprocessing toolchain-funcs vcs-snapshot
MY_PV="8653eff"
DESCRIPTION="A collection of C++ libraries (successor of libcult)"
HOMEPAGE="https://www.codesynthesis.com/projects/libcutl/"
SRC_URI="https://git.codesynthesis.com/cgit/${PN}/${PN}/snapshot/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
BDEPEND="dev-util/build2"
src_configure() {
local myconfigargs=(
config.cxx="$(tc-getCXX)"
config.cxx.coptions="${CXXFLAGS}"
config.cxx.loptions="${LDFLAGS}"
config.bin.ar="$(tc-getAR)"
config.bin.ranlib="$(tc-getRANLIB)"
config.bin.lib="$(usex static-libs both shared)"
config.install.lib="exec_root/$(get_libdir)"
config.install.doc="data_root/share/doc/${PF}"
)
MAKE=b MAKEOPTS="--jobs $(makeopts_jobs) -V" \
emake "${myconfigargs[@]}" configure
}
src_compile() {
MAKE=b MAKEOPTS="--jobs $(makeopts_jobs) -V" \
emake
}
src_test() {
MAKE=b MAKEOPTS="--jobs $(makeopts_jobs) -V" \
emake test
}
src_install() {
einstalldocs
MAKE=b MAKEOPTS="--jobs $(makeopts_jobs) -V" \
emake config.install.root="${ED}/usr" install
}

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>spiderx@spiderx.dp.ua</email>
<name>Vladimir Pavljuchenkov</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
An utility library contains a collection of generic and independent
components such as meta-programming tests, smart pointers, containers,
compiler building blocks, etc.
</longdescription>
<upstream>
<bugs-to>mailto:libcutl-users@codesynthesis.com</bugs-to>
</upstream>
</pkgmetadata>