summaryrefslogtreecommitdiff
path: root/dev-util/squashdelta
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/squashdelta')
-rw-r--r--dev-util/squashdelta/Manifest6
-rw-r--r--dev-util/squashdelta/metadata.xml19
-rw-r--r--dev-util/squashdelta/squashdelta-0.1.ebuild35
-rw-r--r--dev-util/squashdelta/squashdelta-9999.ebuild41
4 files changed, 101 insertions, 0 deletions
diff --git a/dev-util/squashdelta/Manifest b/dev-util/squashdelta/Manifest
new file mode 100644
index 000000000000..55594433a3ff
--- /dev/null
+++ b/dev-util/squashdelta/Manifest
@@ -0,0 +1,6 @@
+DIST squashdelta-0.1.tar.bz2 77702 SHA256 732b0c05085d2d2f14329e0edd3a4b4f15ff315b8b47cac553e6be3c5f9f3f5a SHA512 1ce93b59b6c51be49aaaee9576049677c8ba146fa3a17c7d3552440a1c0ebe93fb4d8cbe1182db691e2c9552713ecfeef0e50d95f7e94218c341c51364bf724f WHIRLPOOL 1ff9fe6a653ca394e5fc1d32bf420880d2e2036d11560cf9ad9cf23535d4c8a60758a7da5e81121d8fa5fe053f1cac83d161057a84076327315b1c35a1d30e3a
+EBUILD squashdelta-0.1.ebuild 816 SHA256 845d946171ca072291ecfc53595ab59918265056d6033c8e8cd318c2fd04528c SHA512 db8727fd723ce993b06fc4c12f769b412971c9042609d48f14a6e6bfe681511652e4253bcf57c0a8a20a855edd53c0989462974ba15291a50c61f86e64ff359f WHIRLPOOL 61a9a3dd872bb919e6e1e1ab88e8be18ead8d51ce50db972e625a89dde18a2fe821ce49160422aa91382fe7c2c91e6aebddd54dfbcbf1c17db71987f5391ac61
+EBUILD squashdelta-9999.ebuild 812 SHA256 c7715140cf5f351fdb54b07bc810ede2287a4a64295c00e780009d9e05f45dda SHA512 d3551e272526a4c105623bce97879012d998fe57d2bf31d795d9051da3427a7900916f0f8b90d5a725e45fbf3e1282413c13eb32c6eb0ba2faf6ad6fcc799ee0 WHIRLPOOL 5162aeaec40ffba9461bc90ba1e9237659eb4c617469ded09722eb9c5720dbdf302b976f162939163d055042af028d096061af5516206095cbacae61899a56a5
+MISC ChangeLog 2388 SHA256 3f73f40ede4e7292643a165c73ed5fe5c7e1d3a10146f132bc25a1ee63c6d382 SHA512 4e90c8ff011a9a99a72f51a6681314ead9715ad93685988b8dffb1c8c35ea25ac49db872d253276edeba3a138a17661ea188a9b0e80cdb0b289b08475132e34a WHIRLPOOL bee471d22bd52dff0cb611c243b11fce1b838ebf650d9048dbf46568f031a2b988977a33126393f84a40471db2dae35b5cfeacc17b63dcbff5b7b3d522c178f6
+MISC ChangeLog-2015 885 SHA256 41186c4e31c0e91651c4a4bb2d31de946c51481323a575573ba9a8f749ff66d4 SHA512 90c96728b66633a43c9995514bb59a597d91d10ade7ac30012a60932ea8ef9497280395c97f18f20262a5cedfede5f1ce8f36b759ddfdfa45dbb3b5eedbfae00 WHIRLPOOL a6c27c80cc03377746fabe49b8ff6b0cec75ae191cebf7a7a5fe737e63dc281eaed9da30273ffd15837a1a2383933c018822ffcf932b112dbaf63761abb5a1c6
+MISC metadata.xml 617 SHA256 107dc18d21ebb40e1c45f98bc5573e55d8fc3221dc897024be7e83cf4a5dbdac SHA512 a08f732876cfc4455ddd980eb04cffbe73b4bd56426d420777782a93b1229277463f85c71f05699f152f2edaa4ee8e029e1e5185b5c7b47204a9e9b9ba5120a2 WHIRLPOOL 59d45aac16cca4de3fcdc0f6c0d2457f267f78c0279b9da6526955857b2350806f761567c7946f39182b8945e345ae158914db5358722f4aa3dfdb8ff5f84dfc
diff --git a/dev-util/squashdelta/metadata.xml b/dev-util/squashdelta/metadata.xml
new file mode 100644
index 000000000000..1001cf9123ee
--- /dev/null
+++ b/dev-util/squashdelta/metadata.xml
@@ -0,0 +1,19 @@
+<?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 type="person">
+ <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://github.com/mgorny/squashdelta/issues/</bugs-to>
+ <remote-id type="github">mgorny/squashdelta</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/squashdelta/squashdelta-0.1.ebuild b/dev-util/squashdelta/squashdelta-0.1.ebuild
new file mode 100644
index 000000000000..64d107803421
--- /dev/null
+++ b/dev-util/squashdelta/squashdelta-0.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="Efficient (partially uncompressed) SquashFS binary delta tool"
+HOMEPAGE="https://github.com/mgorny/squashdelta/"
+SRC_URI="https://www.github.com/mgorny/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+# uses public-domain murmurhash3
+LICENSE="BSD public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lz4 +lzo"
+
+COMMON_DEPEND="
+ lz4? ( app-arch/lz4:0= )
+ lzo? ( dev-libs/lzo:2= )"
+RDEPEND="${COMMON_DEPEND}
+ dev-util/xdelta:3"
+DEPEND=${COMMON_DEPEND}
+
+# SquashDelta does not make much sense without a compression algo.
+REQUIRED_USE="|| ( lz4 lzo )"
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable lz4)
+ $(use_enable lzo)
+ )
+
+ autotools-utils_src_configure
+}
diff --git a/dev-util/squashdelta/squashdelta-9999.ebuild b/dev-util/squashdelta/squashdelta-9999.ebuild
new file mode 100644
index 000000000000..fd19fe305141
--- /dev/null
+++ b/dev-util/squashdelta/squashdelta-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://github.com/mgorny/${PN}.git"
+inherit autotools git-r3
+
+DESCRIPTION="Efficient (partially uncompressed) SquashFS binary delta tool"
+HOMEPAGE="https://github.com/mgorny/squashdelta/"
+SRC_URI=""
+
+# uses public-domain murmurhash3
+LICENSE="BSD public-domain"
+SLOT="0"
+KEYWORDS=""
+IUSE="lz4 +lzo"
+
+COMMON_DEPEND="
+ lz4? ( app-arch/lz4:0= )
+ lzo? ( dev-libs/lzo:2= )"
+RDEPEND="${COMMON_DEPEND}
+ dev-util/xdelta:3"
+DEPEND=${COMMON_DEPEND}
+
+# SquashDelta does not make much sense without a compression algo.
+REQUIRED_USE="|| ( lz4 lzo )"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ $(use_enable lz4)
+ $(use_enable lzo)
+ )
+
+ econf "${myconf[@]}"
+}