summaryrefslogtreecommitdiff
blob: 836fa2e5cfaccd3e1bd7a1205f768f5b15ee3fa3 (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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"

inherit subversion

DESCRIPTION="Utility for searching of object files containing requested symbols"
HOMEPAGE="http://symbol-lookup.sourceforge.net/"
ESVN_REPO_URI="svn://svn.code.sf.net/p/symbol-lookup/code/trunk"
LICENSE="GPL-3"
SLOT="0"
IUSE="+portage rpm"

DEPEND="
	dev-libs/elfutils
	portage? ( sys-apps/portage )
	rpm? ( app-arch/rpm )
"
RDEPEND="${DEPEND}"

src_configure() {
	local myconf="--disable-strip --enable-cflags"
	use portage || myconf+=" --disable-portage"
	use rpm || myconf+=" --disable-rpm"
	econf ${myconf}
}