gentoo/dev-libs/libdbh/libdbh-5.0.22.ebuild
Lucio Sauer 794061a329
*/*: inline mirror://sourceforge
bump copyright of touched ebuilds to 2024

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-04-30 20:21:05 +02:00

40 lines
755 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
MY_P=${PN}2-${PV}
DESCRIPTION="A small library to create and manage 64-bit disk based hash tables"
HOMEPAGE="https://www.gnu.org/software/libdbh/"
SRC_URI="https://downloads.sourceforge.net/dbh/dbh/${PV}/${MY_P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 x86"
BDEPEND="
dev-build/gtk-doc-am
virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
# Make sure user defined CFLAGS are respected
sed -i -e 's:-O2:${CFLAGS}:' m4/rfm-conditionals.m4 || die "sed failed"
eautoreconf
}
src_configure() {
econf --disable-static
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}