commit:     d89ae2eed3daab6a536da3e7d6a91f4bab005314
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Sep  3 16:19:28 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 20:25:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89ae2ee

dev-libs/cgilib: EAPI8 bump, delete unused libtool files

Closes: https://bugs.gentoo.org/842870
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/38412
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-libs/cgilib/cgilib-0.7-r2.ebuild | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/dev-libs/cgilib/cgilib-0.7-r2.ebuild 
b/dev-libs/cgilib/cgilib-0.7-r2.ebuild
new file mode 100644
index 000000000000..8c0584ac9a4b
--- /dev/null
+++ b/dev-libs/cgilib/cgilib-0.7-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Simple and lightweight interface to the CGI for C and C++ 
programs"
+HOMEPAGE="https://www.infodrom.org/projects/cgilib/";
+SRC_URI="https://www.infodrom.org/projects/cgilib/download/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="static-libs"
+
+DOCS=( AUTHORS ChangeLog README cookies.txt )
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_enable static-libs static)
+}
+
+src_install() {
+       default
+
+       if ! use static-libs; then
+               find "${ED}" -name '*.la' -delete || die
+       fi
+}

Reply via email to