You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/aiksaurus/aiksaurus-1.2.1-r1.ebuild

44 lines
962 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic libtool
DESCRIPTION="A thesaurus lib, tool and database"
HOMEPAGE="https://sourceforge.net/projects/aiksaurus"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="gtk"
RDEPEND="gtk? ( x11-libs/gtk+:2 )"
DEPEND="${RDEPEND}
gtk? ( virtual/pkgconfig )
"
PATCHES=(
"${FILESDIR}/${P}-gcc43.patch"
"${FILESDIR}/${P}-format-security.patch"
)
src_prepare() {
default
# Needed to make relink work on FreeBSD, without it won't install.
# Also needed for a sane .so versionning there.
elibtoolize
}
src_configure() {
filter-flags -fno-exceptions
# bug 787899
append-cxxflags -std=gnu++14
econf $(use_with gtk)
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}