summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-10-31 00:16:49 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-10-31 00:45:57 +0100
commit3daa4924bd856d900cdfce8a7881b585ff3874b6 (patch)
tree02edf0d88bddadb6db4204cea36d2b793a63322b /dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild
parentmedia-gfx/gnome-font-viewer: Set remote-id (diff)
downloadgentoo-3daa4924bd856d900cdfce8a7881b585ff3874b6.tar.gz
gentoo-3daa4924bd856d900cdfce8a7881b585ff3874b6.tar.bz2
gentoo-3daa4924bd856d900cdfce8a7881b585ff3874b6.zip
dev-scheme/guile-dbi: new package; add 2.1.8
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild')
-rw-r--r--dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild b/dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild
new file mode 100644
index 000000000000..cabd6907c316
--- /dev/null
+++ b/dev-scheme/guile-dbi/guile-dbi-2.1.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="An SQL database interface for Guile"
+HOMEPAGE="https://github.com/opencog/guile-dbi/"
+SRC_URI="https://github.com/opencog/${PN}/archive/${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${P}/${PN}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="strip"
+
+RDEPEND=">=dev-scheme/guile-2.0.0:="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-configure.patch )
+
+# guile generates ELF files without use of C or machine code
+# It's a portage's false positive. bug #677600
+QA_PREBUILT='*[.]go'
+
+src_prepare() {
+ default
+
+ # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
+ find "${S}" -name "*.scm" -exec touch {} + || die
+
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}