blob: 309b8b7aed4c087c85827db7e889088b7c2c0137 (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/lkcp/lkcp-0.5.4.ebuild,v 1.1 2005/12/26 14:31:44 r3pek Exp $
DESCRIPTION="Live Kernel Configuration Panel is an ncurses interface to the run-time Linux kernel configuration data (/proc)"
HOMEPAGE="http://freshmeat.net/projects/lkcp"
SRC_URI="https://webspace.utexas.edu/~hyoussef/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE="doc"
DEPEND="sys-libs/ncurses
=dev-libs/glib-1*"
src_compile() {
cd ${S}/src
sed -i -e '/^LKCPDIR/s:\/usr\/local\/bin:\$(DESTDIR)\/usr\/bin:' \
-e '/^\t@$(ECHO) $(ECHOFLAGS) "\\n"$/d' \
-e '/^\t@$(ECHO) $(ECHOFLAGS) \[+\] Resetting your terminal\.\.\.$/d' \
-e '/^\t@$(RESET)$/d' Makefile || die "sed failed"
emake || die "emake failed"
}
src_install() {
cd ${S}/src
dodir /usr/bin
make install DESTDIR="${D}" || die "einstall failed"
cd ${S}
mv LICENCE LICENSE
dodoc AUTHORS CREDITS Changelog README TODO LICENSE
if use doc; then
docinto Documentation
dodoc Documentation/{FSSearch.feature,LKCP.dia,LKCP_diagram-OUTDATED.png,LKCP.Shortcomings,proc.txt,sampledox.conf,ScriptDump.feature}
fi
}
|