40 lines
1 KiB
Bash
40 lines
1 KiB
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/btparser-0.24.ebuild,v 1.4 2013/06/30 15:00:28 jlec Exp $
|
|
|
|
EAPI="5"
|
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
|
|
|
inherit eutils python-single-r1
|
|
|
|
DESCRIPTION="Parser and analyzer for backtraces produced by gdb"
|
|
HOMEPAGE="https://fedorahosted.org/btparser/"
|
|
SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.xz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0/2"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="static-libs"
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
>=dev-libs/glib-2.21:2"
|
|
DEPEND="${RDEPEND}
|
|
app-arch/xz-utils"
|
|
|
|
src_configure() {
|
|
# Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
|
|
# while python-2.6 does not install any pkgconfig file.
|
|
export PYTHON_CFLAGS=$(python-config --includes)
|
|
export PYTHON_LIBS=$(python-config --libs)
|
|
|
|
econf \
|
|
$(use_enable static-libs static) \
|
|
--disable-maintainer-mode
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
prune_libtool_files --modules
|
|
}
|