-
Notifications
You must be signed in to change notification settings - Fork 16
/
presage-0.9.1_p_p0201_p01.ebuild
53 lines (44 loc) · 1.08 KB
/
presage-0.9.1_p_p0201_p01.ebuild
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
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
PYTHON_COMPAT=( python2_7 )
URELEASE="yakkety"
inherit autotools eutils python-single-r1 ubuntu-versionator
UURL="mirror://ubuntu/pool/main/p/${PN}"
DESCRIPTION="The intelligent predictive text entry system"
HOMEPAGE="http://presage.sourceforge.net"
SRC_URI="${UURL}/${MY_P}.orig.tar.gz
${UURL}/${MY_P}${UVER_PREFIX}-${UVER}.debian.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RESTRICT="mirror"
RDEPEND="app-text/dos2unix
examples? ( sys-libs/ncurses )"
DEPEND="${RDEPEND}
dev-db/sqlite:3
dev-lang/swig
dev-libs/tinyxml
dev-python/dbus-python
sys-apps/help2man
x11-libs/gtk+:2
doc? ( app-doc/doxygen )
test? ( dev-util/cppunit )"
pkg_setup() {
ubuntu-versionator_pkg_setup
python-single-r1_pkg_setup
}
src_prepare() {
ubuntu-versionator_src_prepare
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable doc documentation)
$(use_enable examples curses)
$(use_enable test)
)
econf ${myeconfargs}
}