summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-02-01 14:49:43 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-02-01 14:49:43 +0000
commit71d4ef1a8f544323137203281f3e274b2c2b3199 (patch)
tree54e3e32900ddc32ce3f9b289c5939af3c8269e6d /dev-libs
parentAdd ieee1394 local flag for kde. (diff)
downloadhistorical-71d4ef1a8f544323137203281f3e274b2c2b3199.tar.gz
historical-71d4ef1a8f544323137203281f3e274b2c2b3199.tar.bz2
historical-71d4ef1a8f544323137203281f3e274b2c2b3199.zip
Initial commit for bug 56504.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/argtable/ChangeLog10
-rw-r--r--dev-libs/argtable/Manifest15
-rw-r--r--dev-libs/argtable/argtable-2.4.ebuild45
-rw-r--r--dev-libs/argtable/files/argtable-2.4-fix-makefile.diff48
-rw-r--r--dev-libs/argtable/files/digest-argtable-2.41
-rw-r--r--dev-libs/argtable/metadata.xml9
6 files changed, 128 insertions, 0 deletions
diff --git a/dev-libs/argtable/ChangeLog b/dev-libs/argtable/ChangeLog
new file mode 100644
index 000000000000..074abc4489ae
--- /dev/null
+++ b/dev-libs/argtable/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/argtable
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/argtable/ChangeLog,v 1.1 2005/02/01 14:49:43 ka0ttic Exp $
+
+*argtable-2.4 (01 Feb 2005)
+
+ 01 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml,
+ +files/argtable-2.4-fix-makefile.diff, +argtable-2.4.ebuild:
+ Initial commit for bug 56504.
+
diff --git a/dev-libs/argtable/Manifest b/dev-libs/argtable/Manifest
new file mode 100644
index 000000000000..7ab0ba630496
--- /dev/null
+++ b/dev-libs/argtable/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 211727fefdd33e45a74be010ef46668c argtable-2.4.ebuild 972
+MD5 74037fe8152628228bd621085d3adfd0 ChangeLog 397
+MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
+MD5 bf46c97bce21ea2091f29bba304d9271 files/argtable-2.4-fix-makefile.diff 1999
+MD5 c743145bef7a99baaa82470de4c30d53 files/digest-argtable-2.4 64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFB/5cTEZCkKN40op4RAuiJAKCl9rB2Sfa4+3U9DJGU5FR4yY9XLACfZSN9
+u9gkDmBpLLHXkiukfs0Bcxc=
+=7jLn
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/argtable/argtable-2.4.ebuild b/dev-libs/argtable/argtable-2.4.ebuild
new file mode 100644
index 000000000000..e98cd6839d99
--- /dev/null
+++ b/dev-libs/argtable/argtable-2.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/argtable/argtable-2.4.ebuild,v 1.1 2005/02/01 14:49:43 ka0ttic Exp $
+
+inherit eutils
+
+DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss"
+HOMEPAGE="http://argtable.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc debug"
+
+RDEPEND="virtual/libc"
+
+S="${WORKDIR}/argtable2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-fix-makefile.diff
+}
+
+src_compile() {
+ econf $(use_enable debug) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc history.txt readme.txt
+
+ if use doc ; then
+ cd ${S}/doc
+ dohtml *.html *.gif
+ dodoc *.pdf *.ps
+
+ cd ${S}/example
+ docinto examples
+ dodoc Makefile *.[ch] README.txt
+ fi
+}
diff --git a/dev-libs/argtable/files/argtable-2.4-fix-makefile.diff b/dev-libs/argtable/files/argtable-2.4-fix-makefile.diff
new file mode 100644
index 000000000000..79d99e5977c4
--- /dev/null
+++ b/dev-libs/argtable/files/argtable-2.4-fix-makefile.diff
@@ -0,0 +1,48 @@
+--- argtable2.orig/Makefile.in 2005-02-01 08:54:09.211698973 -0500
++++ argtable2/Makefile.in 2005-02-01 09:40:35.358574264 -0500
+@@ -30,8 +30,6 @@
+ libdir ?= @libdir@
+ includedir ?= @includedir@
+ mandir ?= @mandir@/man3
+-docdir ?= $(prefix)/share/doc/argtable2
+-exampledir ?= $(prefix)/share/doc/argtable2/example
+
+
+ all:
+@@ -47,26 +45,16 @@
+ cd tests; $(MAKE) installcheck
+
+ install: all
+- @INSTALL@ -d $(includedir)
+- @INSTALL@ -d $(libdir)
+- @INSTALL@ -d $(mandir)
+- @INSTALL@ -d $(docdir)
+- @INSTALL@ -d $(exampledir)
+- @INSTALL@ -m 644 src/argtable2.h $(includedir)
+- @INSTALL@ -m 644 src/libargtable2.a $(libdir)
+- @INSTALL@ -m 644 src/@LIBDYNAMIC@ $(libdir)/@LIBDYNAMICVERS@
+- @INSTALL@ -m 644 doc/*.html $(docdir)
+- @INSTALL@ -m 644 doc/*.gif $(docdir)
+- @INSTALL@ -m 644 doc/*.ps $(docdir)
+- @INSTALL@ -m 644 doc/*.pdf $(docdir)
+- @INSTALL@ -m 644 doc/argtable2.3 $(mandir)
+- @INSTALL@ -m 644 example/*.[ch] $(exampledir)
+- @INSTALL@ -m 644 example/Makefile $(exampledir)
+- @INSTALL@ -m 644 example/README.txt $(exampledir)
+- -@STRIP@ -S $(libdir)/libargtable2.a $(libdir)/@LIBDYNAMICVERS@
+- @RM@ -f $(libdir)/@LIBDYNAMIC@
+- cd $(libdir) ; @LN@ -fs @LIBDYNAMICVERS@ @LIBDYNAMIC@
+- cd $(mandir) ; @LN@ -fs argtable2.3 argtable.3
++ @INSTALL@ -d $(DESTDIR)$(includedir)
++ @INSTALL@ -d $(DESTDIR)$(libdir)
++ @INSTALL@ -d $(DESTDIR)$(mandir)
++ @INSTALL@ -m 644 src/argtable2.h $(DESTDIR)$(includedir)
++ @INSTALL@ -m 644 src/libargtable2.a $(DESTDIR)$(libdir)
++ @INSTALL@ -m 644 src/@LIBDYNAMIC@ $(DESTDIR)$(libdir)/@LIBDYNAMICVERS@
++ @INSTALL@ -m 644 doc/argtable2.3 $(DESTDIR)$(mandir)
++ @RM@ -f $(DESTDIR)$(libdir)/@LIBDYNAMIC@
++ cd $(DESTDIR)$(libdir) ; @LN@ -fs @LIBDYNAMICVERS@ @LIBDYNAMIC@
++ cd $(DESTDIR)$(mandir) ; @LN@ -fs argtable2.3 argtable.3
+
+ uninstall:
+ @RM@ -f $(includedir)/argtable2.h
diff --git a/dev-libs/argtable/files/digest-argtable-2.4 b/dev-libs/argtable/files/digest-argtable-2.4
new file mode 100644
index 000000000000..cb18e3f912fb
--- /dev/null
+++ b/dev-libs/argtable/files/digest-argtable-2.4
@@ -0,0 +1 @@
+MD5 82314de9a369565deef02d76332e1d27 argtable-2.4.tar.gz 879914
diff --git a/dev-libs/argtable/metadata.xml b/dev-libs/argtable/metadata.xml
new file mode 100644
index 000000000000..d31152aca840
--- /dev/null
+++ b/dev-libs/argtable/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ka0ttic@gentoo.org</email>
+ <name>Aaron Walker</name>
+ </maintainer>
+</pkgmetadata>