summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-12-05 03:09:05 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-12-05 03:09:05 +0000
commite46af0179b119105fe5da54359c97a52285ac7ff (patch)
treee6fc40fdb5055e65f0bed8a4b28ef218d216a979 /dev-libs
parentVersion bump. (diff)
downloadhistorical-e46af0179b119105fe5da54359c97a52285ac7ff.tar.gz
historical-e46af0179b119105fe5da54359c97a52285ac7ff.tar.bz2
historical-e46af0179b119105fe5da54359c97a52285ac7ff.zip
initial import bug #47812
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/confuse/ChangeLog10
-rw-r--r--dev-libs/confuse/Manifest15
-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, 103 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..14f4a70a0508
--- /dev/null
+++ b/dev-libs/confuse/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 baebf420f51c72f0e76322735d730c2a confuse-2.5.ebuild 1206
+MD5 d800ef4fc34a6b31455ffdc225d9188d metadata.xml 374
+MD5 0f91a033e76ac08db02e508658fa8567 ChangeLog 425
+MD5 52586bc716a63758a26e05b633a2bab0 files/digest-confuse-2.5 63
+MD5 e63af9d342810c6b32080c4d5c4a5456 files/confuse-2.5-maketest.patch 581
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBsnvYmdTrptrqvGERAh3IAJ4tV/z1tylF51/3T5+rOxZni90EUgCbBEXc
+ouFsKUiW2NX0/FdCCd86og8=
+=SBTk
+-----END PGP SIGNATURE-----
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>