blob: 544e4c467261f542846d928ef82cb1145f65ca7a (
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
38
39
40
41
42
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/lcap/lcap-0.0.6.ebuild,v 1.3 2003/09/06 22:08:32 msterret Exp $
DESCRIPTION="kernel capability remover"
# The normal homepage of the program was not reachable by the time
# this ebuild was written
HOMEPAGE="http://packages.debian.org/unstable/admin/lcap.html"
# same for the sources
SRC_URI="http://ftp.debian.org/debian/pool/main/l/lcap/${PN}_${PV}.orig.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="lids"
DEPEND="virtual/os-headers
virtual/glibc"
RDEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
cd ${S}
use lids || (sed < Makefile > Makefile.tmp -e "s:LIDS =:#\0:" && \
mv Makefile.tmp Makefile)
}
src_compile() {
emake || die
}
src_install() {
exeinto /usr/sbin
doexe lcap
doman lcap.8
dodoc README
}
|