summaryrefslogtreecommitdiff
path: root/dev-libs/zlog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/zlog
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/zlog')
-rw-r--r--dev-libs/zlog/Manifest5
-rw-r--r--dev-libs/zlog/files/zlog_no_werr.patch11
-rw-r--r--dev-libs/zlog/metadata.xml11
-rw-r--r--dev-libs/zlog/zlog-1.2.12.ebuild31
4 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/zlog/Manifest b/dev-libs/zlog/Manifest
new file mode 100644
index 000000000000..d3a8790c61f2
--- /dev/null
+++ b/dev-libs/zlog/Manifest
@@ -0,0 +1,5 @@
+AUX zlog_no_werr.patch 498 SHA256 c2fb673cfd264a4d386be9e7c753072dc85d2531842d6f89ec0bbe5f6f4807aa SHA512 a827b7927089016a012bba7d2012800687494c540df73ae6797162157d412019bbc3943fced8e2a1e4f29c5faf5c9a998406b75a335ccd8c2bebd21b14c29fd4 WHIRLPOOL bbdc94aadae88229c8333b612634223f524f0e5d8a833b4c4c312a5309883a7dc2a4fe49e96840883a1c74cff48cfa48cd78723fa0106a25481ebf5992bfce38
+DIST zlog-v1.2.12.tar.gz 120048 SHA256 9c6014a3f74d136c70255539beba11f30e1d3617d07ce7ea917b35f3e52bac20 SHA512 4e1d773f33f9202702bb5e80f4dcc6f8ab28480a8515ad8b9562ee68703c065c2f18113124535c7163e240013ad121a6ce311a0fc04ac6c32971509ec33615ec WHIRLPOOL 17a0ed7074c1339a24cc06d04f753121fba7fa0fb4abdd94688a105c8d83c5eed61bbd49f66a2214867d8535fa524350b2265ca613af045cd96bd4b8f37c492b
+EBUILD zlog-1.2.12.ebuild 625 SHA256 aec74a696ba125f0e0f1a63c16a2587f8233120bb8206d8dc0e31f1e7eaefcee SHA512 0bb1dd33dcf297c647c66da1f1d3bfab3574045ea5eba044f27a7972305769619ca2d6fdf8f9b1323de2c241c6f86b466b025535e99a89a1d383f8efd8196dbc WHIRLPOOL 3f2f4a63a65376b8d0c7a600109c10bad3f98f66d3fc07cff7f32b3f72e65c236486781ab024dad89c14198acc5a9e131330586835ebc078fff250d199269b5b
+MISC ChangeLog 312 SHA256 a1182c45ead132daa789b4e60b04fcae4d5b49c1766e402bc6f13b913b913c1e SHA512 8019c15aaef32b350d1f679465918ede26374b91f518366e3ea72cd34b2e489f7be5ce4a9c0e7e4fcf4aa68f1cb5a1d58b30066bb8f1fdb2d11cd2112904874e WHIRLPOOL c19292d0ad00c85d2695c732782d401dd845a06977d4834544858c99acefc92d707f3b71209b83241c0c124eedda1c899443c6f51c29b4643490528035117b6f
+MISC metadata.xml 343 SHA256 4b84751c0cdc7c76812be2d933a20cbfa7a3629299cfff39eb328037072813d4 SHA512 1332dbac3769edb28e8c4241821fe5977619ae93b7fe29c58759ed4305b1a28cd51dd4a4d74b4d7db086bf6383e2f771b0e79804434ccd5ff6353e0d1b8d0f61 WHIRLPOOL d591a1e57614bb981b02e4d8ac0f7a77b2a2d11c2d172ce02893d35e82fb3b55a566c70720e2d60e5dc192fa482cc338d33299d63f482b04ec1e6d60876ca52b
diff --git a/dev-libs/zlog/files/zlog_no_werr.patch b/dev-libs/zlog/files/zlog_no_werr.patch
new file mode 100644
index 000000000000..6cb2e8708672
--- /dev/null
+++ b/dev-libs/zlog/files/zlog_no_werr.patch
@@ -0,0 +1,11 @@
+--- src/makefile.orig 2016-08-11 10:40:49.466873499 +0200
++++ src/makefile 2016-08-11 10:40:59.626762850 +0200
+@@ -32,7 +32,7 @@
+ # Fallback to gcc when $CC is not in $PATH.
+ CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
+ OPTIMIZATION?=-O2
+-WARNINGS=-Wall -Werror -Wstrict-prototypes -fwrapv
++WARNINGS=-Wall -Wstrict-prototypes -fwrapv
+ DEBUG?= -g -ggdb
+ REAL_CFLAGS=$(OPTIMIZATION) -fPIC -pthread $(CFLAGS) $(WARNINGS) $(DEBUG)
+ REAL_LDFLAGS=$(LDFLAGS) -pthread
diff --git a/dev-libs/zlog/metadata.xml b/dev-libs/zlog/metadata.xml
new file mode 100644
index 000000000000..af68f28d59c1
--- /dev/null
+++ b/dev-libs/zlog/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>klausman@gentoo.org</email>
+ <name>Tobias Klausmann</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">HardySimpson/zlog</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/zlog/zlog-1.2.12.ebuild b/dev-libs/zlog/zlog-1.2.12.ebuild
new file mode 100644
index 000000000000..be45a805faac
--- /dev/null
+++ b/dev-libs/zlog/zlog-1.2.12.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="A reliable, thread safe, clear-model, pure C logging library."
+HOMEPAGE="http://hardysimpson.github.io/zlog/"
+SRC_URI="https://github.com/HardySimpson/${PN}/archive/${PV}.tar.gz -> ${PN}-v${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default_src_prepare
+ epatch "${FILESDIR}/zlog_no_werr.patch"
+}
+
+src_test () {
+ emake test || die "Tests failed."
+}
+
+src_install() {
+ emake PREFIX="${D}/usr" install
+}