diff options
Diffstat (limited to 'app-doc/linuxfromscratch/linuxfromscratch-7.10.ebuild')
-rw-r--r-- | app-doc/linuxfromscratch/linuxfromscratch-7.10.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-doc/linuxfromscratch/linuxfromscratch-7.10.ebuild b/app-doc/linuxfromscratch/linuxfromscratch-7.10.ebuild new file mode 100644 index 000000000000..367a3a33f965 --- /dev/null +++ b/app-doc/linuxfromscratch/linuxfromscratch-7.10.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_SRC="http://www.linuxfromscratch.org/lfs/downloads/${PV}" +BOOTSCRIPT_PV="20150222" + +DESCRIPTION="LFS documents building a Linux system entirely from source" +HOMEPAGE="http://www.linuxfromscratch.org/lfs" +SRC_URI="${MY_SRC}/LFS-BOOK-${PV}.tar.bz2 + ${MY_SRC}/lfs-bootscripts-${BOOTSCRIPT_PV}.tar.bz2 + htmlsingle? ( ${MY_SRC}/LFS-BOOK-${PV}-NOCHUNKS.html ) + pdf? ( ${MY_SRC}/LFS-BOOK-${PV}.pdf )" + +LICENSE="CC-BY-NC-SA-2.5 MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86" +IUSE="htmlsingle pdf" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR} + +src_unpack() { + unpack LFS-BOOK-${PV}.tar.bz2 \ + lfs-bootscripts-${BOOTSCRIPT_PV}.tar.bz2 + + use htmlsingle && cp "${DISTDIR}"/LFS-BOOK-${PV}-NOCHUNKS.html "${S}" + use pdf && cp "${DISTDIR}"/LFS-BOOK-${PV}.pdf "${S}" +} + +src_install() { + dodoc -r * + docompress -x /usr/share/doc/${PF} +} |