diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
commit | 34dea8e38f88007799629d0a56b12dec480b1d21 (patch) | |
tree | 6790873994b58030360328cf5897d934b3b03d16 /dev-db/gqlplus/gqlplus-1.16-r2.ebuild | |
parent | 7932d472a02d4c016ff7dff4b7a5479ab9d1883d (diff) |
gentoo resync : 20.06.2021
Diffstat (limited to 'dev-db/gqlplus/gqlplus-1.16-r2.ebuild')
-rw-r--r-- | dev-db/gqlplus/gqlplus-1.16-r2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-db/gqlplus/gqlplus-1.16-r2.ebuild b/dev-db/gqlplus/gqlplus-1.16-r2.ebuild new file mode 100644 index 000000000000..471d67809998 --- /dev/null +++ b/dev-db/gqlplus/gqlplus-1.16-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="a front-end for Oracle program sqlplus with command-line editing" +HOMEPAGE="https://gitlab.com/jessp011/gqlplus" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + https://dev.gentoo.org/~grobian/distfiles/gqlplus-1.16-sqlplus-handling-fixes.patch" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~amd64-linux ~x64-macos" +IUSE="" + +DEPEND="sys-libs/readline:=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-ncurses-tinfo.patch + "${DISTDIR}"/${P}-sqlplus-handling-fixes.patch +) + +src_prepare() { + default + + # don't use packaged readline and old version containing it + rm -Rf readline gqlplus-1.15 aclocal.m4 configure + + # maintainer can't seem to get versioning right + sed -i '/^#define VERSION/s/"[^"]\+"/"'"${PV}"'"/' gqlplus.c || die + sed -i '/^AC_INIT/s/\[[1-9.]\+\]/['"${PV}"']/' configure.ac || die + + # fix some ancientness, bug #777504 + sed -i 's/^INCLUDES=/gqlplus_CPPFLAGS=/' Makefile.am || die + + eautoreconf +} |