diff options
author | Sam James <sam@gentoo.org> | 2022-07-09 04:34:05 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-09 04:34:05 +0100 |
commit | e72916a1b9cfb042e15fffc2b742fc8f957767f3 (patch) | |
tree | f6245b6731e35433b945e8607a47a800187327ba /dev-libs/libcdada | |
parent | net-analyzer/pmacct: add 1.7.7, rename live (diff) | |
download | gentoo-e72916a1b9cfb042e15fffc2b742fc8f957767f3.tar.gz gentoo-e72916a1b9cfb042e15fffc2b742fc8f957767f3.tar.bz2 gentoo-e72916a1b9cfb042e15fffc2b742fc8f957767f3.zip |
dev-libs/libcdada: add 0.4.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libcdada')
-rw-r--r-- | dev-libs/libcdada/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libcdada/libcdada-0.4.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/libcdada/Manifest b/dev-libs/libcdada/Manifest index 383c147f9724..bc4241a438c1 100644 --- a/dev-libs/libcdada/Manifest +++ b/dev-libs/libcdada/Manifest @@ -1,2 +1,3 @@ DIST libcdada-0.3.4.tar.gz 1772957 BLAKE2B 5a7b24e7e033807586a30beb35a304b37262e8e673a02f307af63606b2119e3c76b2ed90cec6f494cac26f77aaafd1756d69c5043cf9adfd6a42cd0db76b4298 SHA512 363f2ebe9a054a6356040bb68460321ffb6dc0f66dfd2f95d275864135bed715e12bb6bbbffe11d665020a119033cd80d6bf323020760339664f1b7a4f1ae9ca DIST libcdada-0.3.5.tar.gz 1776937 BLAKE2B 55280e28d2fa6235ac95020b07853748a4551f1c1c2e65b12585064c4fa952dd310b54d5f95f986cea12018d452e1fb086d8bc3c944b169d5aeb280b78f25007 SHA512 4f3d022e54573c4dd0a39d8ef7d097bb209834ba56ec30003ef257e0496c7a08e50a432d0a4a40f019f06feab806cab81ee5ace9c92193266d5ec82cddad3269 +DIST libcdada-0.4.0.tar.gz 1777257 BLAKE2B 26e24fa513ab4a290a7632b4f56c102dc45cd9d34d4a7b7464f58aaee596b5ac3c8172080144d3f3c5cbcf5790f29e74b020f11cea943223e5933c2a7db66f8b SHA512 370a40a070df6783b5f44373bd09751660d51698095fa0ace38943a0331f90a55d131de50180b9ca9597361b7712dbcb350fde77a0e0489c47e4358fec61458b diff --git a/dev-libs/libcdada/libcdada-0.4.0.ebuild b/dev-libs/libcdada/libcdada-0.4.0.ebuild new file mode 100644 index 000000000000..6710394643da --- /dev/null +++ b/dev-libs/libcdada/libcdada-0.4.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit autotools python-any-r1 + +DESCRIPTION="Basic data structures in C" +HOMEPAGE="https://github.com/msune/libcdada" +SRC_URI="https://github.com/msune/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +BDEPEND="test? ( ${PYTHON_DEPS} )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.3.4-Werror.patch + "${FILESDIR}"/${PN}-0.3.5-respect-CFLAGS.patch +) + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with test tests) + + # Needed for tests. We throw them away in src_install anyway. + --enable-static + + --disable-valgrind + --without-examples + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} |