diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-doc/tldp-howto | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-doc/tldp-howto')
-rw-r--r-- | app-doc/tldp-howto/Manifest | 6 | ||||
-rw-r--r-- | app-doc/tldp-howto/metadata.xml | 14 | ||||
-rw-r--r-- | app-doc/tldp-howto/tldp-howto-20120707.ebuild | 61 |
3 files changed, 81 insertions, 0 deletions
diff --git a/app-doc/tldp-howto/Manifest b/app-doc/tldp-howto/Manifest new file mode 100644 index 000000000000..0dd62fa208df --- /dev/null +++ b/app-doc/tldp-howto/Manifest @@ -0,0 +1,6 @@ +DIST Linux-HOWTOs-20120707.tar.bz2 7221427 BLAKE2B 5df0b1d86444024e78c417dc2f49b5563ea397dfd687b3a359c75e98de623ed7090672f3282a21a462df13b1f7b731fd64b916734bc01044f8d367541a52c8b4 SHA512 329a299e2e66f17139a4ce4f6bed0106bc0bd2147773c659e101468adbc12a71c88f952fe7e96b78a483d62a3eafd5306cd8961c100c0ec93d55586ff1bddd41 +DIST Linux-html-HOWTOs-20120707.tar.bz2 75088235 BLAKE2B 9f74adc6f9bfcc3fdd141afca5dd701fea91e0b612e5180b88c53324b455e44e9306902bad3bac06bed220b51f8b4f26e73af9806d318bce8759084e119aa862 SHA512 291764f596021cc098f13fc2a589a2bceb3a5865c7194db42c2b1e37bd59bceee089d34c9f55487a049a20d5f5296b5d0e67cc3303ed2aac1d2288a41caa2218 +DIST Linux-html-single-HOWTOs-20120707.tar.bz2 7563325 BLAKE2B 331a0396dd66b2dbd90bcb224210f1e888fbd04c9bb74ab3bdbd4c5ad061ffe59c9d20703655a426bbb53c32eb5e5e6ed3b3516c4ed148fc1ec843b8b353dc06 SHA512 edfc2c267c8efc66c220a5458eb514864f8b371031bc10afbfaab668558eaa8c02afd7b58c4cb65d874c5fe9b3e22f6df376e4114d3e8635be525c5d14e8bd20 +DIST Linux-pdf-HOWTOs-20120707.tar.bz2 57436243 BLAKE2B 70bd2c54aefc1af77519ebc0fbb53646ee5d3db62c822ff1cc84fe0837217c851f7c5b498ebfd70e52bde661453c6c71732c030335b3d702edd17e5fb08cb936 SHA512 665387a1e2f9703042f1544ed015e39ba222744795ea676fcefc83fda94b6f9222a98aa4ed37ea5bd9164327837e924613ac41ca78a78ae9a4a4097fb64cff3e +EBUILD tldp-howto-20120707.ebuild 1669 BLAKE2B c72344ed71e599339e73477256dc57f56592817e347ab298f616073a32acc114712f71039bcfc9ba5e25ff401a301fef2d8fdbc2733bf06a05222dfc67fcddbd SHA512 3444894501d0865ed1135c9f605f8aa0fea41c7101d961c4a74121824496e386cfe183dfb93c5f33b063a690d059572b14ef65a1df3f579d0d33f993005d2057 +MISC metadata.xml 492 BLAKE2B f1e171e590e6f967993df0b26f230940b60ce327dea57572e9ce09d18623a7f9f384376dff9e9bafd68c7c10bb26e79149fdd058b31b4d4c6c8b038837eb81fb SHA512 f57abda075b2109f7554a9325c83f83059a9cb03faaacade2059e9b370c978dc5c61e9d85bd791712918358c8892cbb1f9bb261b139516ed9c1213398145ef14 diff --git a/app-doc/tldp-howto/metadata.xml b/app-doc/tldp-howto/metadata.xml new file mode 100644 index 000000000000..f1459fc56c90 --- /dev/null +++ b/app-doc/tldp-howto/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> + </maintainer> + <use> + <flag name="html">Install multi-chapter HTML docs</flag> + <flag name="htmlsingle">Install all-on-one-page HTML docs</flag> + <flag name="pdf">Install pdf docs</flag> + <flag name="text">Install plain-text docs</flag> + </use> +</pkgmetadata> diff --git a/app-doc/tldp-howto/tldp-howto-20120707.ebuild b/app-doc/tldp-howto/tldp-howto-20120707.ebuild new file mode 100644 index 000000000000..b2f67e831063 --- /dev/null +++ b/app-doc/tldp-howto/tldp-howto-20120707.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="The Linux Documentation Project HOWTOs" +HOMEPAGE="http://www.tldp.org" + +MY_SRC="http://www.ibiblio.org/pub/Linux/docs/HOWTO" +SRC_URI=" + html? ( ${MY_SRC}/other-formats/html/Linux-html-HOWTOs-${PV}.tar.bz2 ) + htmlsingle? ( ${MY_SRC}/other-formats/html_single/Linux-html-single-HOWTOs-${PV}.tar.bz2 ) + pdf? ( ${MY_SRC}/other-formats/pdf/Linux-pdf-HOWTOs-${PV}.tar.bz2 ) + text? ( ${MY_SRC}/Linux-HOWTOs-${PV}.tar.bz2 )" + +LICENSE="FDL-1.2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" +IUSE="+html htmlsingle pdf text" +REQUIRED_USE="|| ( html htmlsingle pdf text )" + +DEPEND="" +RDEPEND="${DEPEND}" + +RESTRICT="binchecks strip" + +src_unpack() { + mkdir -p "${S}" || die + cd "${S}" + if use html; then + unpack Linux-html-HOWTOs-${PV}.tar.bz2 + # for some reason this bundles the pdfs - older versions didn't + [[ -d ${S}/HOWTO/pdf ]] && rm -r "${S}"/HOWTO/pdf + # stray bin file, doubt anyone will ever need it + rm -f "${S}"/HOWTO/RedHat-CD-HOWTO/rhcd-scripts/rvc + mv "${S}"/HOWTO "${S}"/html + fi + if use htmlsingle; then + mkdir "${S}"/htmlsingle || die + pushd "${S}"/htmlsingle > /dev/null + unpack Linux-html-single-HOWTOs-${PV}.tar.bz2 + popd > /dev/null + fi + if use pdf; then + mkdir "${S}"/pdf || die + pushd "${S}"/pdf > /dev/null + unpack Linux-pdf-HOWTOs-${PV}.tar.bz2 + popd > /dev/null + fi + if use text; then + mkdir "${S}"/text || die + pushd "${S}"/text > /dev/null + unpack Linux-HOWTOs-${PV}.tar.bz2 + popd > /dev/null + fi +} + +src_install() { + insinto /usr/share/doc/${PF} + doins -r "${S}"/* +} |