summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/gengetopt
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/gengetopt')
-rw-r--r--dev-util/gengetopt/Manifest1
-rw-r--r--dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch16
-rw-r--r--dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch11
-rw-r--r--dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch9
-rw-r--r--dev-util/gengetopt/gengetopt-2.22.6.ebuild33
-rw-r--r--dev-util/gengetopt/metadata.xml7
6 files changed, 77 insertions, 0 deletions
diff --git a/dev-util/gengetopt/Manifest b/dev-util/gengetopt/Manifest
new file mode 100644
index 000000000000..8479b3ee7b46
--- /dev/null
+++ b/dev-util/gengetopt/Manifest
@@ -0,0 +1 @@
+DIST gengetopt-2.22.6.tar.gz 1056293 SHA256 30b05a88604d71ef2a42a2ef26cd26df242b41f5b011ad03083143a31d9b01f7 SHA512 dad5baf1b6c4c76ae7f532dd63c6aecdc30f31d68a259b6a26a10197f1fe42dc9147a52ac12a0c3fc4b7cd61d288a343a9223f967a5a9a15a0614330b41f68dc WHIRLPOOL 031b5ddac8f78d3fb37dfbe448acdb563e751858eab9392f5ae8b55e926a5967b9c851295f1d95dff09b4e5fc36a99f380f2ce0be79174b26c4dd4a8afade34f
diff --git a/dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch b/dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch
new file mode 100644
index 000000000000..2991a1be6adc
--- /dev/null
+++ b/dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch
@@ -0,0 +1,16 @@
+--- gengetopt-2.22.6/configure.ac
++++ gengetopt-2.22.6/configure.ac
+@@ -27,11 +27,11 @@
+
+ dnl directory for docs (html)
+ AC_SUBST(gengetoptdocdir)
+-gengetoptdocdir=$docdir
++gengetoptdocdir=$docdir/html
+
+ dnl directory for examples
+ AC_SUBST(gengetoptexamplesdir)
+-gengetoptexamplesdir=$gengetoptdocdir/examples
++gengetoptexamplesdir=$docdir/examples
+
+ dnl Checks for C compiler.
+ AC_PROG_CC
diff --git a/dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch b/dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch
new file mode 100644
index 000000000000..f4317caa89d1
--- /dev/null
+++ b/dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch
@@ -0,0 +1,11 @@
+--- gengetopt-2.22.6/src/Makefile.am
++++ gengetopt-2.22.6/src/Makefile.am
+@@ -51,7 +51,7 @@
+ @LTLIBOBJS@ \
+ skels/libgen.la
+
+-LDADD = $(top_builddir)/src/libgengetopt.la
++LDADD = libgengetopt.la
+
+ EXTRA_DIST = parser.h argsdef.h gengetopt.h ggos.h gm.h gnugetopt.h \
+ cmdline.c cmdline.h \
diff --git a/dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch b/dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch
new file mode 100644
index 000000000000..321bacf15e10
--- /dev/null
+++ b/dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch
@@ -0,0 +1,9 @@
+--- gengetopt-2.22.6/Makefile.am
++++ gengetopt-2.22.6/Makefile.am
+@@ -19,5 +19,3 @@
+
+ EXTRA_DIST = configure TODO LICENSE gl/m4/gnulib-cache.m4
+ SUBDIRS = gl src doc tests
+-
+-gengetoptdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE
+\ No newline at end of file
diff --git a/dev-util/gengetopt/gengetopt-2.22.6.ebuild b/dev-util/gengetopt/gengetopt-2.22.6.ebuild
new file mode 100644
index 000000000000..5a29f7f8a3c9
--- /dev/null
+++ b/dev-util/gengetopt/gengetopt-2.22.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils autotools
+
+DESCRIPTION="A tool to write command line option parsing code for C programs"
+HOMEPAGE="http://www.gnu.org/software/gengetopt/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${FILESDIR}"/${P}-no-docs.patch
+ epatch "${FILESDIR}"/${P}-docdirs.patch
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}
+
+src_install() {
+ default
+ docompress -x /usr/share/doc/${PF}/examples
+}
diff --git a/dev-util/gengetopt/metadata.xml b/dev-util/gengetopt/metadata.xml
new file mode 100644
index 000000000000..91f4e72fb544
--- /dev/null
+++ b/dev-util/gengetopt/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>