summaryrefslogtreecommitdiff
path: root/app-arch/deltarpm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-arch/deltarpm
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-arch/deltarpm')
-rw-r--r--app-arch/deltarpm/Manifest3
-rw-r--r--app-arch/deltarpm/deltarpm-3.6.ebuild54
-rw-r--r--app-arch/deltarpm/metadata.xml16
3 files changed, 73 insertions, 0 deletions
diff --git a/app-arch/deltarpm/Manifest b/app-arch/deltarpm/Manifest
new file mode 100644
index 000000000000..2cc6a603d82e
--- /dev/null
+++ b/app-arch/deltarpm/Manifest
@@ -0,0 +1,3 @@
+DIST deltarpm-3.6.tar.bz2 500420 BLAKE2B 650193ef0bff9b534a9ff60f4bd4d9b81533a62f70e95a2cca1b96cd73f7d8b374def3300b2b079aee4ea2a1a839a79c40fe2bcfbced111414047b8b701b4314 SHA512 0ef89d8d3e7c9d3d9da06542f293b434e42d95e18616aae1de95a66a77a5937142060ff405356869454cbcf8a7bb52f64c462641e52af0fad985105af07351d9
+EBUILD deltarpm-3.6.ebuild 1135 BLAKE2B 7bf1907f6f7d8b2140fe5714f354f8ce8329a204600b25064d272047d80822a93aa0acef38f3bbbd3e1701f3781e5f4ee1948a485f9e130fb65d445060b3f3b1 SHA512 f8e12db10cb3517c029099e5daedea8447de5bc4aa5a7843fa2e624bc50e179aef3814f46815a742b2f5e67674c28ad4c7cb61c720156b67e08e69f33ddc32ab
+MISC metadata.xml 486 BLAKE2B d8a27415f4df4637fa079d20452949fa3ec34dca25fc3fd243d1599deb42acf59a9c89703866e00ce8da24655e5ef1e8e159c34d8f7aaa09e5ca993fe8787705 SHA512 8a0639d669a83a3a33f58c2bcb0ef57a73e315a01353732fa70060d6a0d7de608d60010f42b9d18b8c9fef8d5c62d89d416a5192578842a0067227ee4917e246
diff --git a/app-arch/deltarpm/deltarpm-3.6.ebuild b/app-arch/deltarpm/deltarpm-3.6.ebuild
new file mode 100644
index 000000000000..3a60c4ea7da0
--- /dev/null
+++ b/app-arch/deltarpm/deltarpm-3.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit toolchain-funcs python-single-r1
+
+DESCRIPTION="tools to create and apply deltarpms"
+HOMEPAGE="https://github.com/rpm-software-management/deltarpm"
+SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/${PN}/${P}.tar.bz2/2cc2690bd1088cfc3238c25e59aaaec1/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python system-zlib"
+
+RDEPEND="sys-libs/zlib
+ app-arch/xz-utils
+ app-arch/bzip2
+ <app-arch/rpm-5
+ python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+
+ MAKE_EXTRA_FLAGS=(
+ -j1
+ prefix=/usr
+ mandir=/usr/share/man
+ PYTHONS=$(use python && echo python)
+ CFLAGS="${CFLAGS}"
+ LDFLAGS="${LDFLAGS}"
+ CC="$(tc-getCC)"
+ )
+ use system-zlib && MAKE_EXTRA_FLAGS+=(
+ zlibbundled=
+ zlibcppflags=
+ zlibldflags=-lz
+ )
+}
+
+src_compile() {
+ emake "${MAKE_EXTRA_FLAGS[@]}" all $(use python && echo python)
+}
+
+src_install() {
+ emake "${MAKE_EXTRA_FLAGS[@]}" DESTDIR="${ED}" install
+ python_optimize
+}
diff --git a/app-arch/deltarpm/metadata.xml b/app-arch/deltarpm/metadata.xml
new file mode 100644
index 000000000000..8845ef2eb6c2
--- /dev/null
+++ b/app-arch/deltarpm/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alonbl@gentoo.org</email>
+ <name>Alon Bar-Lev</name>
+ </maintainer>
+ <longdescription>A tool to create and apply deltarpms.</longdescription>
+ <use>
+ <flag name="system-zlib">
+ Use system
+ <pkg>sys-libs/zlib</pkg>.
+ Do not enable features of rsync friendly.
+ </flag>
+ </use>
+</pkgmetadata>