blob: e2b3c526fa3be564fc5f1295179aee97342d9b1f [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/min-cscope/min-cscope-16.1.0.ebuild,v 1.1 2010/01/02 21:48:06 ssuominen Exp $
EAPI=2
inherit cmake-utils flag-o-matic
DESCRIPTION="Interactively examine a C program"
HOMEPAGE="http://sourceforge.net/projects/kscope/"
SRC_URI="mirror://sourceforge/kscope/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
S=${WORKDIR}/${PN}
DOCS="AUTHORS README* TODO"
src_prepare() {
echo 'INSTALL(TARGETS min-cscope RUNTIME DESTINATION bin)' \
>> src/CMakeLists.txt
}
src_configure() {
append-flags -I"${S}/sort"
cmake-utils_src_configure
}