blob: 905bcbb6101b9950d65fd4eb9c401fb535f05455 (
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
43
44
45
46
47
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-0.52.ebuild,v 1.2 2013/01/31 13:16:20 jlec Exp $
EAPI=4
AUTOTOOLS_AUTORECONF=yes
AUTOTOOLS_IN_SOURCE_BUILD=1
inherit autotools-utils
MY_P="${P}.D001"
DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
HOMEPAGE="http://libexplain.sourceforge.net/"
SRC_URI="http://libexplain.sourceforge.net/${MY_P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-3 LGPL-3"
IUSE="static-libs"
RDEPEND="
sys-libs/libcap
>=sys-libs/glibc-2.11
sys-process/lsof"
DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-2.6.35"
S=${WORKDIR}/${MY_P}
DOCS=( README )
PATCHES=(
"${FILESDIR}"/${PN}-0.45-configure.patch
)
src_prepare() {
# Portage incompatible test
sed \
-e '/t0524a/d' \
-e '/t0363a/d' \
-i Makefile.in || die
cp "${S}"/etc/configure.ac "${S}"
autotools-utils_src_prepare
}
|