blob: b799aa5db91e10fef293382490bf72bad6d1be6b (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
MY_P="giFTcurs-${PV}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="A ncurses frontend to the giFT daemon"
SRC_URI="http://savannah.nongnu.org/download/${PN}/${MY_P}.tar.gz"
HOMEPAGE="http://www.nongnu.org/giftcurs/"
SLOT="0"
LICENSE="GPL-2"
IUSE="gpm nls unicode"
KEYWORDS="alpha amd64 ~ia64 ~ppc sparc x86 ~x86-fbsd"
RDEPEND="
>=sys-libs/ncurses-5.2
>=dev-libs/glib-2.0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_compile() {
local myconf=""
use gpm || myconf="${myconf} --disable-mouse --disable-libgpm"
use nls || myconf="${myconf} --disable-nls"
use unicode && myconf="${myconf} --with-ncursesw"
econf $myconf || die "./configure failed"
emake || die "Compilation failed"
}
src_install() {
einstall || die "Installation failed"
dodoc AUTHORS ChangeLog NEWS README TODO
}
|