diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/gengetopt |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/gengetopt')
-rw-r--r-- | dev-util/gengetopt/Manifest | 8 | ||||
-rw-r--r-- | dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch | 16 | ||||
-rw-r--r-- | dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch | 11 | ||||
-rw-r--r-- | dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch | 9 | ||||
-rw-r--r-- | dev-util/gengetopt/gengetopt-2.22.6.ebuild | 30 | ||||
-rw-r--r-- | dev-util/gengetopt/metadata.xml | 5 |
6 files changed, 79 insertions, 0 deletions
diff --git a/dev-util/gengetopt/Manifest b/dev-util/gengetopt/Manifest new file mode 100644 index 000000000000..3a36a3a9f569 --- /dev/null +++ b/dev-util/gengetopt/Manifest @@ -0,0 +1,8 @@ +AUX gengetopt-2.22.6-docdirs.patch 364 SHA256 ca02f865d6a1f48fc874b4f82ce411a1787177c4710479e0eced2900de2913ba SHA512 f2bb3ba6e63c32deeda6d0408621a480b0902d2e93a3ceecbe3e79f72c79f3269bbd2e2fd3cd6bcb248bd81d0105dcd8520d44d523c53ce58843bc38a9cb21f6 WHIRLPOOL d5bfac5e01df785a612a6867cde2dd033fa802b69cdc4a5e64765faab038e2e5f1a49276cdae0c2d0c251762029864f838e08d3dd26d242d35c4aaac94bc23cf +AUX gengetopt-2.22.6-makefile.patch 264 SHA256 4889b1fc69311e4241ecd10653a44534980a9d49ffe0dc37aa7c4eebaa27e273 SHA512 062de57db53d79261132fa62e7ecdbb6a3430231489beadc028e39258407a367033a3490b30a25acc5c1b95f8dec9557889436bd9b645f15ceb6b6b1f6655ebf WHIRLPOOL 9d82624b532ded738892135c8c30b3cfe238212027520bd93537730f6a2f29a8fe018887d3ee17cc81459238cfd08291361afbddaf8e92584b2a22ecac533bb8 +AUX gengetopt-2.22.6-no-docs.patch 247 SHA256 a49e763421f9bef335c620a7082209054d887454835f81615fe2c15d7cca1d6b SHA512 05b910473674359173d380a4fc681d824fd2ca4348ff098b5d8a9110fad487ff3827e8e20b8981de4d1db1a692cdf624a5cb4c8230b2fd0182e9bfdd99ea35b7 WHIRLPOOL 5e694240e328d71f83d31f2414212a357d092cbaaa9de0a7ad683ec6461196291200647e4fd83c7dfd3ca329598fe81da80f9c79d67064aafefdf6b3fc0542d7 +DIST gengetopt-2.22.6.tar.gz 1056293 SHA256 30b05a88604d71ef2a42a2ef26cd26df242b41f5b011ad03083143a31d9b01f7 SHA512 dad5baf1b6c4c76ae7f532dd63c6aecdc30f31d68a259b6a26a10197f1fe42dc9147a52ac12a0c3fc4b7cd61d288a343a9223f967a5a9a15a0614330b41f68dc WHIRLPOOL 031b5ddac8f78d3fb37dfbe448acdb563e751858eab9392f5ae8b55e926a5967b9c851295f1d95dff09b4e5fc36a99f380f2ce0be79174b26c4dd4a8afade34f +EBUILD gengetopt-2.22.6.ebuild 796 SHA256 929e6f70a577fbdf67860682bf37e14d556b623edf61815332da8fb084b5427a SHA512 24cc40ef928a9f56fc58e2df1bd66cc317cb079aaabf316a7c35c0ed5143a6eac619769f69616ee2d3eaa6a03c1e1062f5a6cca1ac4e7e94d42c6899c8051e79 WHIRLPOOL ec1a3b60987a8fbdb5b4c428eaf1c1d6b25b9decba53e60e3896cbff377820b2fc806f42e51462e2324cef8723ada8866a70b052bb41db8faf1f05553f4fdfe4 +MISC ChangeLog 3057 SHA256 24d27ff796e4a130bb0e1a80e1e91ea9982b000ddbbac1da0bc66194d172664e SHA512 9dfb74a7be0a51e6fa53bbdf9eaa5603795e985a2a5c29b77549df951c99f8ac45bb238c8a534f173ec81572645db7457330f47bdfa7b64c22928f322155be40 WHIRLPOOL aef31b64b406cb277e88d6784709458604fa39ee0acd432b1a4032bf01a532dd814558809cdd06c81b071a786a40d552ed7823e357cffd4621335d4731499438 +MISC ChangeLog-2015 694 SHA256 79f624eb49811a9ff2ba5665745ebd64c5c7d92c076753024cdfcbfd2398e24d SHA512 6f3b187bbbd8632deafee29d05d40e0dc39adccde50a8563c6f414494dfadd4f7e04ce8349625924c4f058f332a1b6052ba2c546934979b9e78c6ba18b7f2c2b WHIRLPOOL 410385c6e790410c2b3598bb5972e2b80072086b9eba33d8f1a914b025b8fbfbce8bb8f3b34eec2d76810673a6ab0f7fcaf2bdd5dcfa8b7bbb1514f922cc121d +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 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..409bfb810f9e --- /dev/null +++ b/dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch @@ -0,0 +1,16 @@ +--- a/configure.ac ++++ b/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..f5ecefff9993 --- /dev/null +++ b/dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.am ++++ b/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..84f0324ea07b --- /dev/null +++ b/dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch @@ -0,0 +1,9 @@ +--- a/Makefile.am ++++ b/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..74404faced25 --- /dev/null +++ b/dev-util/gengetopt/gengetopt-2.22.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools + +DESCRIPTION="A tool to write command line option parsing code for C programs" +HOMEPAGE="https://www.gnu.org/software/gengetopt/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86 ~x64-cygwin ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris" + +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..6f49eba8f496 --- /dev/null +++ b/dev-util/gengetopt/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |