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 /app-doc/tldp-howto |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-doc/tldp-howto')
-rw-r--r-- | app-doc/tldp-howto/Manifest | 8 | ||||
-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, 83 insertions, 0 deletions
diff --git a/app-doc/tldp-howto/Manifest b/app-doc/tldp-howto/Manifest new file mode 100644 index 000000000000..bc4a84b9d3fd --- /dev/null +++ b/app-doc/tldp-howto/Manifest @@ -0,0 +1,8 @@ +DIST Linux-HOWTOs-20120707.tar.bz2 7221427 SHA256 8f818c0ac3bdbe01307b83fe81e3cfdc92112dbf8b32f5df9d28b41decd3def0 SHA512 329a299e2e66f17139a4ce4f6bed0106bc0bd2147773c659e101468adbc12a71c88f952fe7e96b78a483d62a3eafd5306cd8961c100c0ec93d55586ff1bddd41 WHIRLPOOL a981d645969c72e874aa30dda956ba4e09cf65919ea4ffd2f8469b5124af77a4ff3e8196fa515122a7cc878e8d1b036f263bfa910338a1984250f04c80fb422d +DIST Linux-html-HOWTOs-20120707.tar.bz2 75088235 SHA256 619ae9428f3c47fb9163a6b548f70877f0732e5457e9cd149c0e4d478ccd47ec SHA512 291764f596021cc098f13fc2a589a2bceb3a5865c7194db42c2b1e37bd59bceee089d34c9f55487a049a20d5f5296b5d0e67cc3303ed2aac1d2288a41caa2218 WHIRLPOOL 43cf549462ff6b6b133403eee408ba9defea0920304a4a9c7e06093d269c375082859ff7e49b8c5eb61287402c3a72738d3bb6a08dfc569b45c973a2b4e997f4 +DIST Linux-html-single-HOWTOs-20120707.tar.bz2 7563325 SHA256 5f80a27099ec484e8c063afaa767aba3868ea4af942dfccbb024a57eda6ba1c9 SHA512 edfc2c267c8efc66c220a5458eb514864f8b371031bc10afbfaab668558eaa8c02afd7b58c4cb65d874c5fe9b3e22f6df376e4114d3e8635be525c5d14e8bd20 WHIRLPOOL cee63efc95886acfaa25be04c7b124872a0a527d45c359cddc7d5ace5321984d5c8a829e116779c4118ce0572bd77a719df56c355b43de671c84a6521d5d58fd +DIST Linux-pdf-HOWTOs-20120707.tar.bz2 57436243 SHA256 7ba25461d394993229245ddef17b6f184e6d480ffea6d0fecd98f2092eed4ab2 SHA512 665387a1e2f9703042f1544ed015e39ba222744795ea676fcefc83fda94b6f9222a98aa4ed37ea5bd9164327837e924613ac41ca78a78ae9a4a4097fb64cff3e WHIRLPOOL 168fe7410c5a03c04898455b6c79725851641b88c282641ccd0d30bc1f5c674bc998f7113c04ae49b7a1b86274d3ef185b1bcaf850d9a5aa082fe42191915068 +EBUILD tldp-howto-20120707.ebuild 1669 SHA256 833a0ba0ca989472f5fe6dcbbb02175b30632d046cf68449e80584958e1cbb38 SHA512 3444894501d0865ed1135c9f605f8aa0fea41c7101d961c4a74121824496e386cfe183dfb93c5f33b063a690d059572b14ef65a1df3f579d0d33f993005d2057 WHIRLPOOL c490407b31e2464f9ae6650792801d7d3df8379c99438ebe696201766c4d2b19449b6b3e0143ce2fda6f54732a0f123e594b7b7ac0500dde961c6bddd92ba5b3 +MISC ChangeLog 3046 SHA256 8152151ba09721692ed2483dc8f2dd365782c7c612a0249d03bb0ec36dd0d184 SHA512 0b560ded472af5baa438ea3c6db044e5d728ab495d677e7993489da4a3519a65e6ac2e13c9c6e6e71f1baacbc4cc713241b6caa40f682476995d2415216256cc WHIRLPOOL d05970b72da8b70c4fe899d6a27559fc59bc1abf9cb8a189d6b556a7486cc90bab11877d06c0c74add7fd796ee5eec38e747cc6b634a7f48cd5ce8f4853b06e5 +MISC ChangeLog-2015 1846 SHA256 260b7e97368053218db3f8994c376934e54432e177ea6a36b37a1516be89a5c9 SHA512 ffbd0dcbea39813ca716fc3f9eaeb05329ec474300f39841cfe27108145d5b98380bb7a53d10030a0462db065e2d3d913530e434e9fa6b833a2131545890d483 WHIRLPOOL 6bfa967553a96f8a4fc37219ee904d2fa5e91247abced1be128b8798f85b744f8fdde9fb2c3ad7ee9132892107f03ce2f8df0af45ddfd897e3db42486a01c6a1 +MISC metadata.xml 492 SHA256 58714a83ef7a535217abed67249fead58dfbdde23746588f519a9c6320708f25 SHA512 f57abda075b2109f7554a9325c83f83059a9cb03faaacade2059e9b370c978dc5c61e9d85bd791712918358c8892cbb1f9bb261b139516ed9c1213398145ef14 WHIRLPOOL 7a6c9d2e5fbc10c299aaa38660c4075a60d905de789f78aa1122444fcda5f09562de42d89f68877d01d9292e57755cb427ba2ef5f42b27d9f930daef20741736 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}"/* +} |