summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Belsito <lluixhi@gmail.com>2017-01-19 12:16:22 -0800
committerAnthony G. Basile <blueness@gentoo.org>2017-01-21 08:38:38 -0500
commitfb978d6ac5116613ca421c01017758b23c8ffcce (patch)
tree5161027b2737b73f174129e5ae5d13b362cd02cc /sys-libs/obstack-standalone
parentdev-perl/Sys-Virt: Bump to version 2.5.0 (diff)
downloadgentoo-fb978d6ac5116613ca421c01017758b23c8ffcce.tar.gz
gentoo-fb978d6ac5116613ca421c01017758b23c8ffcce.tar.bz2
gentoo-fb978d6ac5116613ca421c01017758b23c8ffcce.zip
sys-libs/obstack-standalone: New package
Diffstat (limited to 'sys-libs/obstack-standalone')
-rw-r--r--sys-libs/obstack-standalone/Manifest1
-rw-r--r--sys-libs/obstack-standalone/metadata.xml12
-rw-r--r--sys-libs/obstack-standalone/obstack-standalone-1.1.ebuild38
3 files changed, 51 insertions, 0 deletions
diff --git a/sys-libs/obstack-standalone/Manifest b/sys-libs/obstack-standalone/Manifest
new file mode 100644
index 000000000000..d595464f6d91
--- /dev/null
+++ b/sys-libs/obstack-standalone/Manifest
@@ -0,0 +1 @@
+DIST obstack-standalone-1.1.tar.gz 11561 SHA256 52a216613e7d55e8725e43d017bb2d49a4b1ffa1e06da472f03c7f9875df7d0d SHA512 e3a9956133d72a00663cf8d9720e62002142e113e7d67e2338a2bce1bdfac9eefd4290db8add15eabafdf01065f7fe9bb6754faa36b88df819c53d44fa140757 WHIRLPOOL 2db9b26af04dd06fe216969443ebe9ea1be232e1d51b367da6dab76220ef3e354a4acc9fcf57441f6f7396d407371f5c18940947472e1460666d73ddd58249a2
diff --git a/sys-libs/obstack-standalone/metadata.xml b/sys-libs/obstack-standalone/metadata.xml
new file mode 100644
index 000000000000..fe19d3fa9741
--- /dev/null
+++ b/sys-libs/obstack-standalone/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person" >
+ <email>lluixhi@gmail.com</email>
+ <name>Aric Belsito</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-libs/obstack-standalone/obstack-standalone-1.1.ebuild b/sys-libs/obstack-standalone/obstack-standalone-1.1.ebuild
new file mode 100644
index 000000000000..eea4e2b1aa3f
--- /dev/null
+++ b/sys-libs/obstack-standalone/obstack-standalone-1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A standalone library to implement GNU libc's obstack."
+HOMEPAGE="https://github.com/pullmoll/musl-obstack"
+SRC_URI="https://github.com/pullmoll/musl-obstack/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
+IUSE="static-libs"
+
+DEPEND="
+ !sys-libs/glibc
+ !sys-libs/uclibc"
+
+S="${WORKDIR}/musl-obstack-${PV}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+ mv "${ED%/}"/usr/$(get_libdir)/pkgconfig/{musl-obstack,obstack-standalone}.pc || die
+}