summaryrefslogtreecommitdiff
blob: 44aff60373e52b1aa138c9574a45012b32da09fa (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
30
31
32
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/svn2cl/svn2cl-0.3.ebuild,v 1.1 2005/10/03 12:49:55 ka0ttic Exp $

inherit eutils

DESCRIPTION="Create a GNU-style ChangeLog from subversion's svn log --xml output."
HOMEPAGE="http://ch.tudelft.nl/~arthur/svn2cl/"
SRC_URI="${HOMEPAGE}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~mips"
IUSE=""

RDEPEND="dev-libs/libxslt
	dev-util/subversion"

src_unpack() {
	unpack ${A}
	cd ${S}
	# the wrapper script looks for the xsl file in the
	# same directory as the script.
	epatch ${FILESDIR}/${PN}-no-same-dir-xsl.diff
}

src_install() {
	newbin svn2cl.sh svn2cl || die "failed to install wrapper script"
	insinto /usr/share/svn2cl
	doins svn2cl.xsl || die "failed to install xsl"
	dodoc README
}