summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-02-11 19:30:53 +0000
committerMichał Górny <mgorny@gentoo.org>2014-02-11 19:30:53 +0000
commitd02f7fa6636047b3edc7a5ffcf9f8b708a8a3824 (patch)
treeb868e46e9a8ca01865f3040895d32ed806b2c709 /dev-util
parentStable for HPPA (bug #471688). (diff)
downloadgentoo-2-d02f7fa6636047b3edc7a5ffcf9f8b708a8a3824.tar.gz
gentoo-2-d02f7fa6636047b3edc7a5ffcf9f8b708a8a3824.tar.bz2
gentoo-2-d02f7fa6636047b3edc7a5ffcf9f8b708a8a3824.zip
Introduce a live ebuild for my new SquashFS delta generation tool.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/squashdelta/ChangeLog9
-rw-r--r--dev-util/squashdelta/metadata.xml18
-rw-r--r--dev-util/squashdelta/squashdelta-9999.ebuild45
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-util/squashdelta/ChangeLog b/dev-util/squashdelta/ChangeLog
new file mode 100644
index 000000000000..1d7a32701e2b
--- /dev/null
+++ b/dev-util/squashdelta/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-util/squashdelta
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/squashdelta/ChangeLog,v 1.1 2014/02/11 19:30:53 mgorny Exp $
+
+*squashdelta-9999 (11 Feb 2014)
+
+ 11 Feb 2014; Michał Górny <mgorny@gentoo.org> +metadata.xml,
+ +squashdelta-9999.ebuild:
+ Introduce a live ebuild for my new SquashFS delta generation tool.
diff --git a/dev-util/squashdelta/metadata.xml b/dev-util/squashdelta/metadata.xml
new file mode 100644
index 000000000000..0b4547b0475f
--- /dev/null
+++ b/dev-util/squashdelta/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="lz4">Enable support for LZ4 compression using <pkg>app-arch/lz4</pkg></flag>
+ </use>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <bugs-to>https://bitbucket.org/mgorny/squashdelta/issues/</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/squashdelta/squashdelta-9999.ebuild b/dev-util/squashdelta/squashdelta-9999.ebuild
new file mode 100644
index 000000000000..84332059c1a2
--- /dev/null
+++ b/dev-util/squashdelta/squashdelta-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/squashdelta/squashdelta-9999.ebuild,v 1.1 2014/02/11 19:30:53 mgorny Exp $
+
+EAPI=5
+
+#if LIVE
+AUTOTOOLS_AUTORECONF=yes
+EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
+
+inherit git-r3
+#endif
+
+inherit autotools-utils
+
+DESCRIPTION="Efficient (partially uncompressed) SquashFS binary delta tool"
+HOMEPAGE="https://bitbucket.org/mgorny/squashdelta/"
+SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
+
+# uses public-domain murmurhash3
+LICENSE="BSD public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lz4 lzo"
+
+#if LIVE
+KEYWORDS=
+SRC_URI=
+#endif
+
+COMMON_DEPEND="
+ lz4? ( app-arch/lz4:0= )
+ lzo? ( dev-libs/lzo:2= )"
+RDEPEND="${COMMON_DEPEND}
+ dev-util/xdelta:3"
+DEPEND=${COMMON_DEPEND}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable lz4)
+ $(use_enable lzo)
+ )
+
+ autotools-utils_src_configure
+}