summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/confuse/ChangeLog10
-rw-r--r--dev-libs/confuse/Manifest2
-rw-r--r--dev-libs/confuse/confuse-2.5.ebuild54
-rw-r--r--dev-libs/confuse/files/confuse-2.5-maketest.patch13
-rw-r--r--dev-libs/confuse/files/digest-confuse-2.51
-rw-r--r--dev-libs/confuse/metadata.xml10
6 files changed, 90 insertions, 0 deletions
diff --git a/dev-libs/confuse/ChangeLog b/dev-libs/confuse/ChangeLog
new file mode 100644
index 000000000000..4d8b5415219a
--- /dev/null
+++ b/dev-libs/confuse/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/confuse
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/ChangeLog,v 1.1 2004/12/05 03:09:05 dragonheart Exp $
+
+*confuse-2.5 (05 Dec 2004)
+
+ 05 Dec 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +files/confuse-2.5-maketest.patch, +confuse-2.5.ebuild:
+ initial import bug #47812. Thanks to maj <maj@jamers.net>
+
diff --git a/dev-libs/confuse/Manifest b/dev-libs/confuse/Manifest
new file mode 100644
index 000000000000..b7776995a768
--- /dev/null
+++ b/dev-libs/confuse/Manifest
@@ -0,0 +1,2 @@
+MD5 696fd37c64ae39ae4da73356571f3a3e confuse-2.5.ebuild 963
+MD5 52586bc716a63758a26e05b633a2bab0 files/digest-confuse-2.5 63
diff --git a/dev-libs/confuse/confuse-2.5.ebuild b/dev-libs/confuse/confuse-2.5.ebuild
new file mode 100644
index 000000000000..9043191e24e7
--- /dev/null
+++ b/dev-libs/confuse/confuse-2.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/confuse-2.5.ebuild,v 1.1 2004/12/05 03:09:05 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="libConfuse is a configuration file parser library,"
+HOMEPAGE="http://www.nongnu.org/confuse/"
+SRC_URI="http://savannah.nongnu.org/download/confuse/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="doc debug nls"
+
+DEPEND="sys-devel/libtool
+ doc? ( app-text/openjade
+ >=app-text/docbook-sgml-dtd-3.1-r1 )"
+
+RDEPEND="virtual/libc"
+
+src_unpack(){
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-maketest.patch
+}
+
+src_compile() {
+ local myconf
+
+ # keep this otherwise libraries will not have .so extensions
+ libtoolize --force
+
+ use debug \
+ && myconf="${myconf} --enable-debug=all" \
+ || myconf="${myconf} --disable-debug"
+
+ econf `use_enable doc build-docs` `use_enable nls` ${myconf} || die
+ emake || die
+}
+
+src_test() {
+ cd ${S}/tests
+ ./check_confuse || die "self test failed"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die
+ dodoc AUTHORS NEWS README || die
+ if use doc; then
+ dohtml doc/html/*.html || die
+ fi
+ rmdir ${D}/usr/bin
+}
diff --git a/dev-libs/confuse/files/confuse-2.5-maketest.patch b/dev-libs/confuse/files/confuse-2.5-maketest.patch
new file mode 100644
index 000000000000..a7acc29d6eb0
--- /dev/null
+++ b/dev-libs/confuse/files/confuse-2.5-maketest.patch
@@ -0,0 +1,13 @@
+--- tests/Makefile.am.orig 2004-12-05 11:48:41.870585648 +0930
++++ tests/Makefile.am 2004-12-05 11:49:22.118467040 +0930
+@@ -2,8 +2,8 @@
+ EXTRA_PROGRAMS=check_confuse
+ check_confuse_SOURCES=check_confuse.c suite_single.c suite_dup.c suite_list.c suite_validate.c \
+ suite_func.c
+-check_confuse_INCLUDES=-I$(top_srcdir)/src @CHECK_CFLAGS@
+-check_confuse_LDADD=-L../src/ @CHECK_LIBS@ ../src/libconfuse.la $(LTLIBINTL)
++INCLUDES=-I$(top_srcdir)/src @CHECK_CFLAGS@
++LDADD=-L../src/ @CHECK_LIBS@ ../src/libconfuse.la $(LTLIBINTL)
+ EXTRA_DIST=a.conf b.conf
+ CLEANFILES=*~ \#*\#
+
diff --git a/dev-libs/confuse/files/digest-confuse-2.5 b/dev-libs/confuse/files/digest-confuse-2.5
new file mode 100644
index 000000000000..b023be84d334
--- /dev/null
+++ b/dev-libs/confuse/files/digest-confuse-2.5
@@ -0,0 +1 @@
+MD5 4bc9b73d77ebd571ac834619ce0b3582 confuse-2.5.tar.gz 502501
diff --git a/dev-libs/confuse/metadata.xml b/dev-libs/confuse/metadata.xml
new file mode 100644
index 000000000000..c68c466ef895
--- /dev/null
+++ b/dev-libs/confuse/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>dev-embedded</herd>
+<maintainer>
+ <email>dev-embedded@gentoo.org</email>
+ <description>A user ebuild that I felt obliged to include. Please take over if you want.</description>
+</maintainer>
+<longdescription></longdescription>
+</pkgmetadata>