blob: 1d8ead8837b17f6019356df63b664a962f46536d (
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-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/ofl/ofl-20110721.ebuild,v 1.1 2011/08/31 23:48:47 mattst88 Exp $
EAPI=4
inherit toolchain-funcs
DESCRIPTION="Open file lister (replaces fuser and lsof -m)"
HOMEPAGE="http://jengelh.medozas.de/projects/hxtools/"
SRC_URI="http://jftp.medozas.de/hxtools/hxtools-${PV}.tar.xz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=">=sys-libs/libhx-3.4"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/hxtools-${PV}
src_configure() {
# We're just building a single utility. Don't bother
# with the build system.
:
}
src_compile() {
CC=$(tc-getCC) CFLAGS=${CFLAGS} LDLIBS="-lHX" \
emake V=1 -C sadmin ofl
}
src_install() {
dobin sadmin/ofl
doman doc/ofl.1
}
|