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.ebuild

38 lines
1014 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/aiksaurus/aiksaurus-1.2.1.ebuild,v 1.19 2012/08/05 21:01:16 blueness Exp $
EAPI=2
inherit flag-o-matic eutils libtool
DESCRIPTION="A thesaurus lib, tool and database"
HOMEPAGE="http://sourceforge.net/projects/aiksaurus"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
IUSE="gtk"
RDEPEND="gtk? ( x11-libs/gtk+:2 )"
DEPEND="${RDEPEND}
gtk? ( virtual/pkgconfig )"
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc43.patch #214248
# 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
econf $(use_with gtk)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS README* ChangeLog
}