dev-libs/gnulib: add new snapshot, fix dosym usage
authorFabian Groffen <grobian@gentoo.org>
Sat, 23 Dec 2017 16:17:38 +0000 (17:17 +0100)
committerFabian Groffen <grobian@gentoo.org>
Sat, 23 Dec 2017 16:17:38 +0000 (17:17 +0100)
Package-Manager: Portage-2.3.13, Repoman-2.3.3

dev-libs/gnulib/Manifest
dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild
dev-libs/gnulib/gnulib-2017.12.19.15.53.47.ebuild [new file with mode: 0644]
dev-libs/gnulib/gnulib-9999-r1.ebuild

index e8fb7cffca1ab066b5c31a4785ccaa4327e04c86..8df5698d7757a5edd21766db33726818152b2e8b 100644 (file)
@@ -1 +1,2 @@
 DIST gnulib-3a0b7b74982f44c735f4cfc2dccf538c3c4ef9e2.tar.gz 6192393 BLAKE2B 6c7409242c0421dd260369e7ca0b1c27ee46eb34c332d349545a5020e31fd476127b770739dc2578b3aa23e3a569e7d1467f41055bf449799d78b6ec48943fe8 SHA512 9076d0476aef4a7425fb6db038c2a4657ae1a5619a0ddce07a68a97883924f07635edc59818b532564128fbe23b06b39c98b4c544d4fc670dfc4ebd34e2e52c5
+DIST gnulib-f583f328bec489dd59b54ecc1cc640843ea261cf.tar.gz 6486622 BLAKE2B 725fcb598262d12c8b0f04d4341cc59c18a915ce34f5239c587121a7f297d2b86dd49f98f19900c49400166789f6eea22f6719c76a78c0b107ba2fc550568145 SHA512 303d8d5eafd210854b803e9add2575de314a28cfc530dae49d1f738d73fbaaf3e3c18267ecf0367b8e16b11a2e403454f37b586f0e7718297ca6cdac9984258b
index 3c04d3d2b622bf2929dfdf76a4da493ebeca287a..a008b1478d0bed68325816eacf13f8ba1dbc4d00 100644 (file)
@@ -39,5 +39,5 @@ src_install() {
        doexe gnulib-tool
 
        # create and install the wrapper
-       dosym /usr/share/${PN}/gnulib-tool /usr/bin/gnulib-tool
+       dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool
 }
diff --git a/dev-libs/gnulib/gnulib-2017.12.19.15.53.47.ebuild b/dev-libs/gnulib/gnulib-2017.12.19.15.53.47.ebuild
new file mode 100644 (file)
index 0000000..3018a94
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GIT_TAG="f583f328bec489dd59b54ecc1cc640843ea261cf"
+
+DESCRIPTION="Library of common routines intended to be shared"
+HOMEPAGE="https://www.gnu.org/software/gnulib"
+SRC_URI="https://git.savannah.gnu.org/cgit/${PN}.git/snapshot/${PN}-${GIT_TAG}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc-aix ~x86-fbsd ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc"
+
+S="${WORKDIR}/${PN}-${GIT_TAG}"
+
+src_compile() {
+       if use doc; then
+               emake -C doc info html
+       fi
+}
+
+src_install() {
+       dodoc README ChangeLog
+
+       insinto /usr/share/${PN}
+       doins -r build-aux
+       doins -r doc
+       doins -r lib
+       doins -r m4
+       doins -r modules
+       doins -r tests
+       doins -r top
+
+       # install the real script
+       exeinto /usr/share/${PN}
+       doexe gnulib-tool
+
+       # create and install the wrapper
+       dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool
+}
index 6615893ccf1b79082dbb62b0052037bf62bffab7..394e16ee666b9eb9612c3bfe18a0133481f9fedc 100644 (file)
@@ -37,5 +37,5 @@ src_install() {
        doexe gnulib-tool
 
        # create and install the wrapper
-       dosym /usr/share/${PN}/gnulib-tool /usr/bin/gnulib-tool
+       dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool
 }