summaryrefslogtreecommitdiff
blob: 4e654afeda3589b75f782927c3d74b817be284d6 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

MY_P=${P/_/-}

DESCRIPTION="Vi-like editor inspired by vim."
HOMEPAGE="http://www.yzis.org/"
SRC_URI="http://dl.freehackers.org/yzis/${MY_P}.tar.bz2"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="dev-util/cmake"
RDEPEND=">=dev-lang/lua-5.1
	sys-libs/ncurses
	>=x11-libs/qt-4.1.0"


src_compile() {
	cmake -DENABLE_TESTS=OFF \
		-DENABLE_LIBYZISRUNNER=OFF \
		-DDCMAKE_BUILD_TYPE=Release \
		${MY_P} || die "CMake failed."

	emake || die "Build failed."
}

src_install() {
	emake DESTDIR="${D}" install || die "Install failed."

	cd ${MY_P}
	dodoc ChangeLog README || die "dodoc failed."
}