mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-libs/argtable3: new package, add 3.3.1
Closes: https://bugs.gentoo.org/709630 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
parent
089ec11613
commit
b2261fe3b3
1
dev-libs/argtable3/Manifest
Normal file
1
dev-libs/argtable3/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST argtable-v3.3.1.tar.gz 177567 BLAKE2B fe4a7a45097fd829aad05bd2998c1188c5b72de5c77763e3739827c26b8a8d87b9e80128445ff6429fc9cc11be93f6067abe7ed046235cfab00d19d7f0c8f075 SHA512 3c6c3054365746c311081d349970a42c347587260a87b38111f324ee0f9d5e5c277a50f27cc0832f866ae596054c94666108950599b3ded98db638fb41f58ff9
|
||||
44
dev-libs/argtable3/argtable3-3.3.1.ebuild
Normal file
44
dev-libs/argtable3/argtable3-3.3.1.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="ANSI C command-line parsing library based on getopt"
|
||||
HOMEPAGE="https://www.argtable.org/"
|
||||
SRC_URI="https://github.com/argtable/${PN}/releases/download/v${PV}/argtable-v${PV}.tar.gz"
|
||||
S="${WORKDIR}/argtable-v${PV}"
|
||||
|
||||
# Their LICENSE file is a concatenation; thus is our variable:
|
||||
#
|
||||
# * argtable3 itself: BSD
|
||||
# * FreeBSD getopt: BSD-2
|
||||
# * TCL/TK: tcltk
|
||||
# * Hash table: BSD
|
||||
# * Better string: BSD
|
||||
#
|
||||
LICENSE="BSD BSD-2 tcltk"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DARGTABLE3_ENABLE_TESTS=$(usex test)
|
||||
-DARGTABLE3_ENABLE_EXAMPLES=OFF # don't _build_ the examples
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*.c
|
||||
dodoc -r examples/multicmd
|
||||
fi
|
||||
}
|
||||
12
dev-libs/argtable3/metadata.xml
Normal file
12
dev-libs/argtable3/metadata.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mjo@gentoo.org</email>
|
||||
<name>Michael Orlitzky</name>
|
||||
</maintainer>
|
||||
|
||||
<upstream>
|
||||
<remote-id type="github">argtable/argtable3</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
x
Reference in New Issue
Block a user