Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit autotools elisp-common eutils |
7 |
inherit autotools elisp-common eutils toolchain-funcs |
8 |
|
8 |
|
9 |
DESCRIPTION="Interactively examine a C program" |
9 |
DESCRIPTION="Interactively examine a C program" |
10 |
HOMEPAGE="http://cscope.sourceforge.net/" |
10 |
HOMEPAGE="http://cscope.sourceforge.net/" |
Lines 19-24
Link Here
|
19 |
emacs? ( virtual/emacs )" |
19 |
emacs? ( virtual/emacs )" |
20 |
DEPEND="${RDEPEND} |
20 |
DEPEND="${RDEPEND} |
21 |
sys-devel/flex |
21 |
sys-devel/flex |
|
|
22 |
virtual/pkgconfig |
22 |
virtual/yacc" |
23 |
virtual/yacc" |
23 |
|
24 |
|
24 |
SITEFILE="50${PN}-gentoo.el" |
25 |
SITEFILE="50${PN}-gentoo.el" |
Lines 29-35
Link Here
|
29 |
} |
30 |
} |
30 |
|
31 |
|
31 |
src_compile() { |
32 |
src_compile() { |
32 |
emake |
33 |
emake CURSES_LIBS=$("$(tc-getPKG_CONFIG)" --libs ncurses) |
33 |
if use emacs; then |
34 |
if use emacs; then |
34 |
cd "${S}"/contrib/xcscope || die |
35 |
cd "${S}"/contrib/xcscope || die |
35 |
elisp-compile *.el || die |
36 |
elisp-compile *.el || die |