From: Aric Belsito Date: Thu, 19 Jan 2017 20:16:22 +0000 (-0800) Subject: sys-libs/obstack-standalone: New package X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fb978d6ac5116613ca421c01017758b23c8ffcce;p=gentoo.git sys-libs/obstack-standalone: New package --- 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 @@ + + + + + proxy-maint@gentoo.org + Proxy Maintainers + + + lluixhi@gmail.com + Aric Belsito + + 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 +}