blob: dbc40b2a590ebc004986f54649cfb36c9fb7e1c5 (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-3.0v.ebuild,v 1.1 2009/06/28 17:49:40 patrick Exp $
inherit distutils
# there was a 3.0v2 release
MY_P=${PN}${PV}2
DESCRIPTION="a binary diff and differential compression tools. VCDIFF (RFC 3284) delta compression."
HOMEPAGE="http://xdelta.org"
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND="dev-lang/python"
DEPEND="${RDEPEND}"
# but the v2 doesn't show in the tarball. sigh!
S=${WORKDIR}/${PN}${PV}
DOCS="draft-korn-vcdiff.txt"
# made redundant
#pkg_setup() {
# if use alpha || use amd64 || use ia64 || use ppc64 || use sparc; then
# xdelta="xdelta3-64"
# else
# xdelta="xdelta3"
# fi
#}
src_compile() {
distutils_src_compile
emake all || die "emake all failed."
}
src_install() {
dobin xdelta3 || die "dobin xdelta failed."
distutils_src_install
}
|