summaryrefslogtreecommitdiff
blob: da054f04acbd3bdc7182f0aff7b91a8b166ed1fd (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="2"

inherit base

DESCRIPTION="Programs for converting diffs (cd2ud, ud2cd, cdiffreverse, udiffreverse)"
HOMEPAGE="http://www.mail-archive.com/bug-gnulib@gnu.org/msg09414.html"
SRC_URI="http://www.haible.de/bruno/gnu/${P}.tar.gz"

LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

PATCHES=( "${FILESDIR}"/${P}-gcc-4.4.patch )

src_compile() {
	emake -f Makefile-c++ || die
}

src_install() {
	dodoc README || die
	dobin cd2ud ud2cd cdiffreverse udiffreverse || die
}