From f32ba92142bc0a09f1e29072630d75a8a4b34214 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 12 Dec 2015 15:21:00 +0100 Subject: dev-libs/libb64: Initial commit, new dependency of dev-util/sysdig --- dev-libs/libb64/Manifest | 1 + dev-libs/libb64/libb64-1.2.ebuild | 29 +++++++++++++++++++++++++++++ dev-libs/libb64/metadata.xml | 8 ++++++++ 3 files changed, 38 insertions(+) create mode 100644 dev-libs/libb64/Manifest create mode 100644 dev-libs/libb64/libb64-1.2.ebuild create mode 100644 dev-libs/libb64/metadata.xml (limited to 'dev-libs/libb64') diff --git a/dev-libs/libb64/Manifest b/dev-libs/libb64/Manifest new file mode 100644 index 000000000000..f215421b3d4a --- /dev/null +++ b/dev-libs/libb64/Manifest @@ -0,0 +1 @@ +DIST libb64-1.2.src.zip 16063 SHA256 343d8d61c5cbe3d3407394f16a5390c06f8ff907bd8d614c16546310b689bfd3 SHA512 ac041c78bf324a027e311fb10935886f8713f9b6ac53136396186a5b5fd936efdf6add715899827591bdf6d3727f6e27f680bc273c7634517cc2e1941140f596 WHIRLPOOL 4dfd317674dfe9daa7832bbddb3e668e83a11d216aa8fd05d3cb8b9697397c73183aadc0c8124e68f0397bf64cb1c9e819abd216ede4bf3d7f85176c05c8cf35 diff --git a/dev-libs/libb64/libb64-1.2.ebuild b/dev-libs/libb64/libb64-1.2.ebuild new file mode 100644 index 000000000000..eea7444279c4 --- /dev/null +++ b/dev-libs/libb64/libb64-1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Fast Base64 encoding/decoding routines" +HOMEPAGE="http://libb64.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.src.zip" + +LICENSE="public-domain" +# static library, so always rebuild +SLOT="0/${PVR}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" + +src_compile() { + # override -O3, -Werror non-sense + emake -C src CFLAGS="${CFLAGS} -I../include" +} + +src_install() { + dolib src/libb64.a + insinto /usr/include + doins -r include/b64 + dodoc AUTHORS BENCHMARKS CHANGELOG README +} diff --git a/dev-libs/libb64/metadata.xml b/dev-libs/libb64/metadata.xml new file mode 100644 index 000000000000..5cb9324943ab --- /dev/null +++ b/dev-libs/libb64/metadata.xml @@ -0,0 +1,8 @@ + + + + + mgorny@gentoo.org + Michał Górny + + -- cgit v1.2.3-65-gdbad