summaryrefslogtreecommitdiff
path: root/app-arch/deltarpm
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/deltarpm')
-rw-r--r--app-arch/deltarpm/Manifest5
-rw-r--r--app-arch/deltarpm/deltarpm-3.6.ebuild54
-rw-r--r--app-arch/deltarpm/metadata.xml16
3 files changed, 75 insertions, 0 deletions
diff --git a/app-arch/deltarpm/Manifest b/app-arch/deltarpm/Manifest
new file mode 100644
index 000000000000..53af89e03a00
--- /dev/null
+++ b/app-arch/deltarpm/Manifest
@@ -0,0 +1,5 @@
+DIST deltarpm-3.6.tar.bz2 500420 SHA256 fcc35db53e9913f12cdc013bdf922614ac8ef6fd5e7187e75203be8809d177be SHA512 0ef89d8d3e7c9d3d9da06542f293b434e42d95e18616aae1de95a66a77a5937142060ff405356869454cbcf8a7bb52f64c462641e52af0fad985105af07351d9 WHIRLPOOL 1ae76d6120aadf8dcdc978b2d7ac328080e10b60737557b91009da2cb9ab4fab497f5798cf49624dc914f0e92965cf567204d3114c631d9f8b703b99e0f5753d
+EBUILD deltarpm-3.6.ebuild 1122 SHA256 47f8ebb5767b92e756a6c28998857c56a53e70ae88285218f05b9de093d5e168 SHA512 6233e6ccdcb1cfca10c752a47a29dc2fa62d34e5b6b91f9cff9222393f99959c9ed961fe21e6622e535b2878a43737532df9c4ac350f0e87cbd114124e1cd65a WHIRLPOOL 9794eec7203ee00cc0fc8adf2e7b0644d813eca9480c030fb3b06cb944cf09b45eddf8b0657ad1febee10e823049ccb5d6d7f5f743b9fbb48eb3bcc8d4d4195e
+MISC ChangeLog 3933 SHA256 bc626f28057cf5bff28eb96892e26465853cacc2c4b9e35f62ecea8667a300ff SHA512 79ff6b3012135283414249b551c6bbba3fceebec4e31b09fcdf1e75be69cde0dda5739ca1dd9998e480713e539c7a1ceb6390c5a0522d8c50bc8cfc3b8a7c804 WHIRLPOOL bb91e17148e5ccfadbe0f589a0328d3755d88d5c951a2d3f91777673a09ae13ee831298a0d0a078b179fc4a78971b128eab5d4894c7f8a10730231e5d61607d6
+MISC ChangeLog-2015 1992 SHA256 953a4b0f003c797c1f2aa36fe724396bcc304defc0cc478c155573c4cff2f5d0 SHA512 b87d21f3ca84e778453f2507d430192fdb42fea96343d8b77d958994d9f789ec4f7601604732c894b7b3b0d15455f95067a3bf71394c1a55754a69738ff95cb8 WHIRLPOOL 944b37f07263e7acecc907813b1eb77cb9bfc988b253f62d94ad4926bec13cd7190b8422b341dbae1165000b30577f202b445178d058cfbc694bf61fdf72a219
+MISC metadata.xml 486 SHA256 9ddc0080fc0eb0e4448fa94725b02583a9d5ffd300024550cf82b1f2a5a62957 SHA512 8a0639d669a83a3a33f58c2bcb0ef57a73e315a01353732fa70060d6a0d7de608d60010f42b9d18b8c9fef8d5c62d89d416a5192578842a0067227ee4917e246 WHIRLPOOL a29daee0a9fc31adce5f5c2364e49a4e086b26ac43488d8da9c18c134bb2828f8119f2e9befa0a1bae088412f231076095fe682ff50f5c1e1ac1617610772f81
diff --git a/app-arch/deltarpm/deltarpm-3.6.ebuild b/app-arch/deltarpm/deltarpm-3.6.ebuild
new file mode 100644
index 000000000000..9b3d7f88baef
--- /dev/null
+++ b/app-arch/deltarpm/deltarpm-3.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 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="http://gitorious.org/deltarpm/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>