summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2012-07-01 22:18:29 +0000
committerRyan Hill <rhill@gentoo.org>2012-07-01 22:18:29 +0000
commit0ea241e85b79479faf0bc8eff1ade0bab39bd70c (patch)
treec1b060a1cc4df6956fd3f90b8f67dbeabf126f16 /app-doc/linuxfromscratch/linuxfromscratch-7.1.ebuild
parentUnset CCASFLAGS. Reported by tommy. (diff)
downloadhistorical-0ea241e85b79479faf0bc8eff1ade0bab39bd70c.tar.gz
historical-0ea241e85b79479faf0bc8eff1ade0bab39bd70c.tar.bz2
historical-0ea241e85b79479faf0bc8eff1ade0bab39bd70c.zip
Version bump. Change maintainer to app-doc.
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
Diffstat (limited to 'app-doc/linuxfromscratch/linuxfromscratch-7.1.ebuild')
-rw-r--r--app-doc/linuxfromscratch/linuxfromscratch-7.1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-doc/linuxfromscratch/linuxfromscratch-7.1.ebuild b/app-doc/linuxfromscratch/linuxfromscratch-7.1.ebuild
new file mode 100644
index 000000000000..14ee8842c2c3
--- /dev/null
+++ b/app-doc/linuxfromscratch/linuxfromscratch-7.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/linuxfromscratch/linuxfromscratch-7.1.ebuild,v 1.1 2012/07/01 22:18:29 dirtyepic Exp $
+
+EAPI="4"
+
+MY_SRC="http://www.linuxfromscratch.org/lfs/downloads/${PV}"
+
+BOOTSCRIPT_PV="20120229"
+UDEV_PV="20100128"
+
+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
+ ${MY_SRC}/udev-config-${UDEV_PV}.tar.bz2
+ htmlsingle? ( ${MY_SRC}/LFS-BOOK-${PV}-NOCHUNKS.html.bz2 )
+ pdf? ( ${MY_SRC}/LFS-BOOK-${PV}.pdf )"
+
+LICENSE="CCPL-Attribution-ShareAlike-NonCommercial-2.5 MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~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 \
+ udev-config-${UDEV_PV}.tar.bz2
+
+ use htmlsingle && unpack LFS-BOOK-${PV}-NOCHUNKS.html.bz2
+ use pdf && cp "${DISTDIR}"/LFS-BOOK-${PV}.pdf "${S}"
+}
+
+src_install() {
+ dodoc -r *
+ docompress -x /usr/share/doc/${PF}
+}