You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libexplain/libexplain-0.42.ebuild

39 lines
892 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-0.42.ebuild,v 1.2 2011/06/28 12:02:45 jlec Exp $
EAPI=4
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"
#SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${MY_P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-3"
IUSE=""
DEPEND="
>=sys-kernel/linux-headers-2.6.35
sys-libs/libcap
>=sys-libs/glibc-2.11"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${MY_P}
src_prepare() {
# Portage incompatible test
sed \
-e '/t0524a/d' \
-e '/t0363a/d' \
-i Makefile.in || die
}
src_install() {
MAKEOPTS+=" -j1"
default
}