summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libexplain/ChangeLog7
-rw-r--r--dev-libs/libexplain/libexplain-0.51.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-libs/libexplain/ChangeLog b/dev-libs/libexplain/ChangeLog
index c6a96da96956..857737642255 100644
--- a/dev-libs/libexplain/ChangeLog
+++ b/dev-libs/libexplain/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libexplain
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/ChangeLog,v 1.14 2012/01/16 04:47:17 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/ChangeLog,v 1.15 2012/01/26 22:45:37 radhermit Exp $
+
+*libexplain-0.51 (26 Jan 2012)
+
+ 26 Jan 2012; Tim Harder <radhermit@gentoo.org> +libexplain-0.51.ebuild:
+ Version bump.
16 Jan 2012; Tim Harder <radhermit@gentoo.org> -libexplain-0.40.ebuild,
-libexplain-0.42.ebuild, -libexplain-0.45.ebuild, -libexplain-0.46.ebuild,
diff --git a/dev-libs/libexplain/libexplain-0.51.ebuild b/dev-libs/libexplain/libexplain-0.51.ebuild
new file mode 100644
index 000000000000..e21ee2d2ee9a
--- /dev/null
+++ b/dev-libs/libexplain/libexplain-0.51.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-0.51.ebuild,v 1.1 2012/01/26 22:45:38 radhermit Exp $
+
+EAPI=4
+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"
+IUSE="static-libs"
+
+DEPEND="
+ >=sys-kernel/linux-headers-2.6.35
+ sys-libs/libcap
+ >=sys-libs/glibc-2.11"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( README )
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+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
+ eautoreconf
+}