blob: 62a01f57c15f9ae5718f71e6adf4fff18c3ccfab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/aiksaurus/aiksaurus-1.0.1-r1.ebuild,v 1.6 2005/01/01 16:02:42 eradicator Exp $
inherit flag-o-matic eutils
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="~x86 ~ppc ~sparc alpha"
IUSE="gtk"
RDEPEND=">=x11-libs/gtk+-2"
DEPEND="sys-devel/gcc
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
# fix -DGTK_DEPRECATED
sed -e 's/-DGTK_DISABLE_DEPRECATED//g' -i ${S}/configure
cd ${S}/base
epatch ${FILESDIR}/${PN}-0.15-gentoo.patch || die
}
src_compile() {
filter-flags -fno-exceptions
local myconf
myconf="${myconf} `use_with gtk`"
econf ${myconf} || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS README* ChangeLog
}
|