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-util/dwdiff/dwdiff-1.9.ebuild

42 lines
971 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/dwdiff/dwdiff-1.9.ebuild,v 1.2 2011/06/05 13:32:40 xarthisius Exp $
EAPI=4
inherit toolchain-funcs
DESCRIPTION="A front-end for the diff program that operates at the word level instead of the line level"
HOMEPAGE="http://os.ghalkes.nl/dwdiff.html"
SRC_URI="http://os.ghalkes.nl/dist/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="nls"
COMMON_DEPEND="dev-libs/icu"
RDEPEND="${COMMON_DEPEND}
sys-apps/diffutils"
DEPEND="${COMMON_DEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
sed -i \
-e '/INSTALL/s:COPYING::' \
Makefile.in || die
}
src_configure() {
./configure \
--prefix=/usr \
$(use_with nls gettext) || die
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
}
src_install() {
emake prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" install || die
}