# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils rox MY_PN="Diff" PATCH_FN="01_all_rox-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" DEPEND=">=x11-libs/gtk+-2.0.1 >=dev-libs/libxml2-2.4.0" ROX_CLIB=2.1.4 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} }