summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-12 15:21:00 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-12 16:11:05 +0100
commitf32ba92142bc0a09f1e29072630d75a8a4b34214 (patch)
treece8a4d4c7d4e5dd983bfc9bab8d4ca3f70eb4a6e
parentprofiles: restrict kde-apps/dolphin[thumbnail] useflag mask (diff)
downloadgentoo-f32ba92142bc0a09f1e29072630d75a8a4b34214.tar.gz
gentoo-f32ba92142bc0a09f1e29072630d75a8a4b34214.tar.bz2
gentoo-f32ba92142bc0a09f1e29072630d75a8a4b34214.zip
dev-libs/libb64: Initial commit, new dependency of dev-util/sysdig
-rw-r--r--dev-libs/libb64/Manifest1
-rw-r--r--dev-libs/libb64/libb64-1.2.ebuild29
-rw-r--r--dev-libs/libb64/metadata.xml8
3 files changed, 38 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+</pkgmetadata>