blob: 193ba1f2dbbaf7ea23514bb8f1f00069a4fc1705 (
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
# $Id$
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
}
|