summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-15 21:00:48 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-15 21:00:48 +0000
commitb1ca1b4f8ae2067f2d13d66fc260b50891954a19 (patch)
tree59899b9645d990d5a42363fdbfcbe5c7046dd88d /dev-util/xdelta
parentppc stable, bug #204760 (diff)
downloadgentoo-2-b1ca1b4f8ae2067f2d13d66fc260b50891954a19.tar.gz
gentoo-2-b1ca1b4f8ae2067f2d13d66fc260b50891954a19.tar.bz2
gentoo-2-b1ca1b4f8ae2067f2d13d66fc260b50891954a19.zip
Version bump wrt #169304, but use a new SLOT since it doesn't seem to provide libraries version 1 does. Thanks to Michael Schmid for reporting and ebuild.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-util/xdelta')
-rw-r--r--dev-util/xdelta/ChangeLog11
-rw-r--r--dev-util/xdelta/files/digest-xdelta-3.0t3
-rw-r--r--dev-util/xdelta/xdelta-3.0t.ebuild42
3 files changed, 54 insertions, 2 deletions
diff --git a/dev-util/xdelta/ChangeLog b/dev-util/xdelta/ChangeLog
index 493ef98e32a2..037c082b7cff 100644
--- a/dev-util/xdelta/ChangeLog
+++ b/dev-util/xdelta/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/xdelta
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/ChangeLog,v 1.30 2007/10/15 14:28:02 corsair Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/ChangeLog,v 1.31 2008/01/15 21:00:47 drac Exp $
+
+*xdelta-3.0t (15 Jan 2008)
+
+ 15 Jan 2008; Samuli Suominen <drac@gentoo.org> +xdelta-3.0t.ebuild:
+ Version bump wrt #169304, but use a new SLOT since it doesn't seem to
+ provide libraries version 1 does. Thanks to Michael Schmid for reporting and
+ ebuild.
15 Oct 2007; Markus Rothe <corsair@gentoo.org> xdelta-1.1.3-r2.ebuild:
Stable on ppc64
diff --git a/dev-util/xdelta/files/digest-xdelta-3.0t b/dev-util/xdelta/files/digest-xdelta-3.0t
new file mode 100644
index 000000000000..d3ba6de8a362
--- /dev/null
+++ b/dev-util/xdelta/files/digest-xdelta-3.0t
@@ -0,0 +1,3 @@
+MD5 d2004255ad6a61c7cb62bb93a9656e7c xdelta3.0t.tar.gz 203424
+RMD160 a1b2fd246b6fefe766773912c70e21443131c9fb xdelta3.0t.tar.gz 203424
+SHA256 199bf84816d81ebb586783e3307d033a4f82dafd50a9b23834d10e98aff08c1f xdelta3.0t.tar.gz 203424
diff --git a/dev-util/xdelta/xdelta-3.0t.ebuild b/dev-util/xdelta/xdelta-3.0t.ebuild
new file mode 100644
index 000000000000..602c2898d695
--- /dev/null
+++ b/dev-util/xdelta/xdelta-3.0t.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-3.0t.ebuild,v 1.1 2008/01/15 21:00:47 drac Exp $
+
+inherit distutils
+
+MY_P=${PN}${PV}
+
+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}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="draft-korn-vcdiff.txt"
+
+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 ${xdelta} || die "emake ${xdelta} failed."
+}
+
+src_install() {
+ distutils_src_install
+ dobin ${xdelta} || die "dobin ${xdelta} failed."
+ [[ $xdelta = xdelta3-64 ]] && dosym ${xdelta} /usr/bin/xdelta3
+}