diff options
author | Michael Weber <xmw@gentoo.org> | 2012-07-17 16:54:25 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2012-07-17 16:54:25 +0000 |
commit | 023d10f7ead46726bbfdfa7676203ee611f3505c (patch) | |
tree | 10c7941de95cb2009dd9761b3478fab965ddda78 /dev-libs/libparserutils | |
parent | Stable for HPPA (bug #425734). (diff) | |
download | gentoo-2-023d10f7ead46726bbfdfa7676203ee611f3505c.tar.gz gentoo-2-023d10f7ead46726bbfdfa7676203ee611f3505c.tar.bz2 gentoo-2-023d10f7ead46726bbfdfa7676203ee611f3505c.zip |
Initial import
(Portage version: 2.1.11.7/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libparserutils')
-rw-r--r-- | dev-libs/libparserutils/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libparserutils/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libparserutils/libparserutils-0.1.1.ebuild | 56 | ||||
-rw-r--r-- | dev-libs/libparserutils/metadata.xml | 9 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-libs/libparserutils/ChangeLog b/dev-libs/libparserutils/ChangeLog new file mode 100644 index 000000000000..3bf477310b71 --- /dev/null +++ b/dev-libs/libparserutils/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/libparserutils +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/ChangeLog,v 1.1 2012/07/17 16:54:25 xmw Exp $ + +*libparserutils-0.1.1 (17 Jul 2012) + + 17 Jul 2012; Michael Weber <xmw@gentoo.org> +libparserutils-0.1.1.ebuild, + +metadata.xml: + Initial import + diff --git a/dev-libs/libparserutils/Manifest b/dev-libs/libparserutils/Manifest new file mode 100644 index 000000000000..c7d69abebb6f --- /dev/null +++ b/dev-libs/libparserutils/Manifest @@ -0,0 +1,4 @@ +DIST libparserutils-0.1.1-src.tar.gz 94856 SHA256 2d3f1887d3027b7df1fcacd5f74aba16d3c22a86c169816cd712857a1be0aaf3 SHA512 691090b6f6f2c4ecdb98389f12587eecaa8e39cd15b4af383c5b2a7f6996052fc0864955770a849a139ff0add112eec544436f3e5878e654a0a3bc8bffe2a4f1 WHIRLPOOL 4822631d28cccd0ce56f50ebffb10a6911b9961429d0232dd3217e78d2a9b0e3f60585eee7945d302d79bf93d7e4ed49ce80c1c58bc4aa31857912cc2f2cd315 +EBUILD libparserutils-0.1.1.ebuild 1319 SHA256 fd521988805f1223d010c95ca37bc5c7f8d82692ab2f31fc3652baf8a9f89c5c SHA512 5546956bfef1b9144ea99445429dae5eb8332096c0fef4ad8df66c0e40aafc531834665d61c5f6c16bd06b04de32f37605be84ae97fc70d3a7758f729b8dd441 WHIRLPOOL 7f6853f078f254b5188463e83e10abb52c2ab039e69ff7381c2559b64dda1984c3c8215be74dc69022186ce7e4acfd2622994bccb298aa6761fdfd803d564aa2 +MISC ChangeLog 272 SHA256 01529772c314db7e0b0f69deae3ee6c73556517e0f29acfdc29c88190f7a4a3c SHA512 4645e04e0f95cc78e6f6a79ca483c3bdb48ab7ad40dc0706baff704a4629416a7a60f800160318a9c9892761f2e41413f3d795322804e30c8e38fc2f6aee6a96 WHIRLPOOL 534ed20596886254f833696506c0d71e1ca792a5c5e916add26f0a2fa621e7eb33fd2ac25cb9aeeac696f1f86f688f19f550652f31028c965db3eade6199c9fc +MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868 diff --git a/dev-libs/libparserutils/libparserutils-0.1.1.ebuild b/dev-libs/libparserutils/libparserutils-0.1.1.ebuild new file mode 100644 index 000000000000..7e4d88edf783 --- /dev/null +++ b/dev-libs/libparserutils/libparserutils-0.1.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libparserutils/libparserutils-0.1.1.ebuild,v 1.1 2012/07/17 16:54:25 xmw Exp $ + +EAPI=4 + +inherit flag-o-matic multilib toolchain-funcs + +DESCRIPTION="library for building efficient parsers, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/" +SRC_URI="http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="iconv static-libs" + +RDEPEND="" +DEPEND="test? ( dev-lang/perl )" + +src_prepare() { + sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \ + -e "s:-Werror::g" \ + -i Makefile || die + sed -e "/^libdir/s:/lib:/$(get_libdir):g" \ + -i ${PN}.pc.in || die + echo "Q := " >> Makefile.config.override || die + echo "CC := $(tc-getCC)" >> Makefile.config.override || die + echo "AR := $(tc-getAR)" >> Makefile.config.override || die +} + +src_configure() { + if use iconv ; then + append-cflags "-DWITH_ICONV_FILTER" + else + append-cflags "-DWITHOUT_ICONV_FILTER" + fi +} + +src_compile() { + emake COMPONENT_TYPE=lib-shared + if use static-libs ; then + emake COMPONENT_TYPE=lib-static + fi + if use doc ; then + emake doc + fi +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + if use static-libs ; then + emake COMPONENT_TYPE=lib-static DESTDIR="${D}" PREFIX=/usr install || die + fi + dodoc README docs/Todo +} diff --git a/dev-libs/libparserutils/metadata.xml b/dev-libs/libparserutils/metadata.xml new file mode 100644 index 000000000000..59acc2cc580e --- /dev/null +++ b/dev-libs/libparserutils/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + |