diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
commit | 908778078736bd36f7a60a2d576d415cb8e000fa (patch) | |
tree | c6a4796c48b608c14dc7e9674cdbd38f905e3c15 /app-doc/tldp-howto | |
parent | 185fa19bbf68a4d4dca534d2b46729207a177f16 (diff) |
gentoo resync : 22.05.2021
Diffstat (limited to 'app-doc/tldp-howto')
-rw-r--r-- | app-doc/tldp-howto/Manifest | 2 | ||||
-rw-r--r-- | app-doc/tldp-howto/tldp-howto-20120707.ebuild | 42 |
2 files changed, 27 insertions, 17 deletions
diff --git a/app-doc/tldp-howto/Manifest b/app-doc/tldp-howto/Manifest index a91867d3ebac..e89b78f3133b 100644 --- a/app-doc/tldp-howto/Manifest +++ b/app-doc/tldp-howto/Manifest @@ -2,5 +2,5 @@ DIST Linux-HOWTOs-20120707.tar.bz2 7221427 BLAKE2B 5df0b1d86444024e78c417dc2f49b 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 1667 BLAKE2B 38d04ff9b38bfb485b8e241e6513a85e3db5c907a1bf3767b6b3c9a0dff2a6267b55d3189ff4419bbb27931b3af447434acd72e822511a6f0cc0e6a30154e047 SHA512 47353cf7a62138dc699982ebd14f640e1a58207305c2d91989a2fd8768e74c0e7cc04cc7a8f78e5e0c5735069c64d682afe1a145cbcf393e076db85ba9fadc3c +EBUILD tldp-howto-20120707.ebuild 1705 BLAKE2B 45aaa830a150e2ff348ea1b28b39625943bdb2c60a18595aaf27efb4d1249754395e9ad3cf1747c6bbdca942a330c5e613d3e4a8aaea863b2b73f0bec496fa56 SHA512 c8e5bc4c527860232a1404f9a280fe464aaf7a8f96bbc47c5a6915c876379ff68c684cb9e2bbede891c0b629c1afe1a22554dac7cde7f5a29239ca62b6407f24 MISC metadata.xml 516 BLAKE2B ff61d9d4645d43356e2c57d087a8c94e502a098dca1a089a36513ced5bb010606359d7c2b54a0fd815561eb8572557f2a417b5e0f543e8ecc1169e1dbaf71fc2 SHA512 a1a2c230aba2bc83f96637313ccdf22fd61f8bd8134820d14a3afc4ee5443a99a2f1a946c78b3b3a128c112c8c68a2d11e74874a4201cf147c25626b2737856a diff --git a/app-doc/tldp-howto/tldp-howto-20120707.ebuild b/app-doc/tldp-howto/tldp-howto-20120707.ebuild index 4fe2b10bbaec..38effcf91210 100644 --- a/app-doc/tldp-howto/tldp-howto-20120707.ebuild +++ b/app-doc/tldp-howto/tldp-howto-20120707.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 DESCRIPTION="The Linux Documentation Project HOWTOs" HOMEPAGE="http://www.tldp.org" @@ -19,43 +19,53 @@ KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 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}" + cd "${S}" || die + 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 + if [[ -d "${S}"/HOWTO/pdf ]] ; then + rm -r "${S}"/HOWTO/pdf || die + fi + # stray bin file, doubt anyone will ever need it - rm -f "${S}"/HOWTO/RedHat-CD-HOWTO/rhcd-scripts/rvc - mv "${S}"/HOWTO "${S}"/html + rm -f "${S}"/HOWTO/RedHat-CD-HOWTO/rhcd-scripts/rvc || die + mv "${S}"/HOWTO "${S}"/html || die fi + if use htmlsingle; then mkdir "${S}"/htmlsingle || die - pushd "${S}"/htmlsingle > /dev/null + pushd "${S}"/htmlsingle > /dev/null || die + unpack Linux-html-single-HOWTOs-${PV}.tar.bz2 - popd > /dev/null + + popd > /dev/null || die fi + if use pdf; then mkdir "${S}"/pdf || die - pushd "${S}"/pdf > /dev/null + pushd "${S}"/pdf > /dev/null || die + unpack Linux-pdf-HOWTOs-${PV}.tar.bz2 - popd > /dev/null + + popd > /dev/null || die fi + if use text; then mkdir "${S}"/text || die - pushd "${S}"/text > /dev/null + pushd "${S}"/text > /dev/null || die + unpack Linux-HOWTOs-${PV}.tar.bz2 - popd > /dev/null + + popd > /dev/null || die fi } src_install() { - insinto /usr/share/doc/${PF} - doins -r "${S}"/* + dodoc -r "${S}"/* } |