summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-26 12:27:56 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-26 12:27:56 +0000
commitc9301f7bd9f7ea6a2ec5ccd3499c1fad9bc33af7 (patch)
tree920b0e213a0cd8aa7d52f0def39914f8ae971c6a /app-doc
parentfixes bug #150269. (diff)
downloadgentoo-2-c9301f7bd9f7ea6a2ec5ccd3499c1fad9bc33af7.tar.gz
gentoo-2-c9301f7bd9f7ea6a2ec5ccd3499c1fad9bc33af7.tar.bz2
gentoo-2-c9301f7bd9f7ea6a2ec5ccd3499c1fad9bc33af7.zip
Add support for installing examples via USE=examples.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/autobook/ChangeLog7
-rw-r--r--app-doc/autobook/autobook-1.5.ebuild22
-rw-r--r--app-doc/autobook/files/digest-autobook-1.42
-rw-r--r--app-doc/autobook/files/digest-autobook-1.512
4 files changed, 37 insertions, 6 deletions
diff --git a/app-doc/autobook/ChangeLog b/app-doc/autobook/ChangeLog
index daa6674278fe..1b68090b0a5f 100644
--- a/app-doc/autobook/ChangeLog
+++ b/app-doc/autobook/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-doc/autobook
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/autobook/ChangeLog,v 1.7 2006/11/19 21:19:04 dirtyepic Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/autobook/ChangeLog,v 1.8 2006/11/26 12:27:56 vapier Exp $
+
+ 26 Nov 2006; Mike Frysinger <vapier@gentoo.org> autobook-1.5.ebuild:
+ Add support for installing examples via USE=examples.
*autobook-1.5 (19 Nov 2006)
diff --git a/app-doc/autobook/autobook-1.5.ebuild b/app-doc/autobook/autobook-1.5.ebuild
index e94a9b234a2d..90cf672bdf43 100644
--- a/app-doc/autobook/autobook-1.5.ebuild
+++ b/app-doc/autobook/autobook-1.5.ebuild
@@ -1,17 +1,31 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/autobook/autobook-1.5.ebuild,v 1.1 2006/11/19 21:19:04 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/autobook/autobook-1.5.ebuild,v 1.2 2006/11/26 12:27:56 vapier Exp $
DESCRIPTION="GNU Autoconf, Automake and Libtool"
HOMEPAGE="http://sources.redhat.com/autobook/"
-SRC_URI="http://sources.redhat.com/autobook/${P}.tar.gz"
+SRC_URI="http://sources.redhat.com/autobook/${P}.tar.gz
+ examples? (
+ http://sources.redhat.com/autobook/foonly-2.0.tar.gz
+ http://sources.redhat.com/autobook/small-2.0.tar.gz
+ http://sources.redhat.com/autobook/hello-2.0.tar.gz
+ http://sources.redhat.com/autobook/convenience-2.0.tar.gz
+ )"
LICENSE="OPL"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
+IUSE="examples"
+
DEPEND=""
src_install() {
- dohtml *
+ dohtml * || die
+ if use examples ; then
+ local d
+ for d in {convenience,foonly,hello,small}-2.0 ; do
+ insinto /usr/share/doc/${PF}/${d}
+ doins -r "${WORKDIR}"/${d}/* || die "doins ${d} failed"
+ done
+ fi
}
diff --git a/app-doc/autobook/files/digest-autobook-1.4 b/app-doc/autobook/files/digest-autobook-1.4
index 2752be91d577..06449cfecc19 100644
--- a/app-doc/autobook/files/digest-autobook-1.4
+++ b/app-doc/autobook/files/digest-autobook-1.4
@@ -1 +1,3 @@
MD5 623957f2ebe498457f4527c1477690f2 autobook-1.4.tar.gz 340742
+RMD160 cbd1dcc380ed8b052b4f1c66d6d48efb62f803ce autobook-1.4.tar.gz 340742
+SHA256 d8beade4a305deece6e9633f613d2cad74098e10f5ce8e727a86d345b00fd41a autobook-1.4.tar.gz 340742
diff --git a/app-doc/autobook/files/digest-autobook-1.5 b/app-doc/autobook/files/digest-autobook-1.5
index fce0703a646d..0fbe0e8f0323 100644
--- a/app-doc/autobook/files/digest-autobook-1.5
+++ b/app-doc/autobook/files/digest-autobook-1.5
@@ -1,3 +1,15 @@
MD5 ce2be49c716a917e7c9342e7dedfeaf0 autobook-1.5.tar.gz 357570
RMD160 5fa4cd489cc03db933da4ee5ce28b06fdc1a3527 autobook-1.5.tar.gz 357570
SHA256 e723188406d4017a58f460adf4ad986600e663194a47c6d198b0e84bcd68f7d4 autobook-1.5.tar.gz 357570
+MD5 3c74ee21437d545cb672ab7b99610231 convenience-2.0.tar.gz 1771
+RMD160 fdb3b892cac9c1a917dd4275ee240d03bdb706da convenience-2.0.tar.gz 1771
+SHA256 63b9e9d6aadbf607bb6953093626fe8d51e49bbbc095d7404da8384eb879b9f9 convenience-2.0.tar.gz 1771
+MD5 5e88daea88749c8f7d7759369347daed foonly-2.0.tar.gz 1211
+RMD160 f1c6ff976fc47bdaa09e66969d6d5bf31cffcafa foonly-2.0.tar.gz 1211
+SHA256 c503d0ae31eee17b067618cb0977ff50bba0240dd9c01dd57d2cac7b3d9ad115 foonly-2.0.tar.gz 1211
+MD5 ace25045db6319a4ceba46d9b0fee840 hello-2.0.tar.gz 1278
+RMD160 3a9b43558abaf57af318c07c7ec8705a71080462 hello-2.0.tar.gz 1278
+SHA256 c9def1985c9bb5240ff92beb36096e0776e70a266cecbdaf33e723d246e66d47 hello-2.0.tar.gz 1278
+MD5 f3b8d1bcb508d181b2084120b1a50830 small-2.0.tar.gz 21912
+RMD160 5ab3aee1cb5b9cd70cd718096cc73a3c374a221c small-2.0.tar.gz 21912
+SHA256 65a3fdc8aa4fc4660ae2d99b8dbaf875d40c7bb192a3ebf1965cc784ad181f79 small-2.0.tar.gz 21912