# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/rox-extra/diff/diff-2.1.2.ebuild,v 1.1 2005/10/08 18:22:01 svyatogor Exp $ inherit eutils rox MY_PN="Diff" PATCH_FN="diff-2.1.2_unified-fix.patch" DESCRIPTION="This is a helper program for ROX-Filer. It provides images for video files. By Stephen Watson" HOMEPAGE="http://www.kerofin.demon.co.uk/rox/diff.html" SRC_URI="http://www.kerofin.demon.co.uk/rox/${MY_PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~x86" ROX_CLIB=2.1.0 SET_PERM=true APPNAME=${MY_PN} S=${WORKDIR} # patch to make unified diffs work. Thanks to Stephen Watson, author src_unpack() { unpack ${A} cd ${S}/${APPNAME}/src epatch ${FILESDIR}/${PATCH_FN} }