dev-libs/libthreadar: add 1.5.0

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2024-08-22 07:59:52 +03:00
parent a97f2a2d5c
commit 5c9d78b42e
2 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST libthreadar-1.4.0.tar.gz 445672 BLAKE2B ce4165bfa507f27ea071dab067e1cda61e0812fd106ab80f0ef04a53ac68ce866a3d7c5ce6a26d6e9fc2c2085de7b8636492711a15a7103cc16b773d0a87aebe SHA512 3665817cf6327d4d24792d8cc2bd0a458bda1651b471e3440c1f63c22f397cfb4c8d81482f937e13f67f5ff1414662b1f69d9c311362a0a7a9249e8bc0236751
DIST libthreadar-1.5.0.tar.gz 460637 BLAKE2B 41ac9ae8bea6d9ae695b9c8984c842de8863ebd946ad424027a43e04ace7244e8a9414b28470d509c4567ec60a816835f6ad3a52ec9d2d8906fe09e48c720587 SHA512 b54b8f25be350d9262123413b0850c147a00684605f5394b27afea9b14d282fdfc2bd74abefa67e61f14fc2a28da7fa1eba78266f05a51b1ea5193f99ae51909

View File

@@ -0,0 +1,35 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Threading library used by dar archiver"
HOMEPAGE="https://sourceforge.net/projects/libthreadar/"
SRC_URI="https://downloads.sourceforge.net/libthreadar/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
src_prepare() {
default
# don't build examples, they are not installed
sed -i -e '/^SUBDIRS =/d' doc/Makefile.am || die
eautoreconf
}
src_configure() {
econf --disable-build-html
}
src_install() {
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
einstalldocs
rm -r "${ED}"/usr/share/doc/${PF}/html || die
find "${ED}" -name '*.la' -delete || die
}