summaryrefslogtreecommitdiff
blob: c273bdb3a20623f49a2f1dc30ab223676cc1889c (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
# 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.40.ebuild,v 1.3 2011/01/06 20:44:34 jlec Exp $

EAPI="3"

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 ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-3"
IUSE=""

S="${WORKDIR}"/${MY_P}

src_prepare() {
	# Portage incompatible test
	sed '/t0524a/d' -i Makefile.in || die
}

src_install() {
	emake -j1 DESTDIR="${D}" install || die
	dodoc README || die
}