Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-doc/abs-guide: ChangeLog abs-guide-6.0.ebuild
Date: Sun, 29 Mar 2009 05:41:24
Message-Id: E1Lnnlp-0006ZD-Uh@stork.gentoo.org
1 dirtyepic 09/03/29 05:41:21
2
3 Modified: ChangeLog
4 Added: abs-guide-6.0.ebuild
5 Log:
6 Version bump, now covers Bash 4.
7 Add pdf USE flag to install pdf version.
8 (Portage version: 2.2_rc27/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.68 app-doc/abs-guide/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/abs-guide/ChangeLog?rev=1.68&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/abs-guide/ChangeLog?rev=1.68&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/abs-guide/ChangeLog?r1=1.67&r2=1.68
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-doc/abs-guide/ChangeLog,v
20 retrieving revision 1.67
21 retrieving revision 1.68
22 diff -u -r1.67 -r1.68
23 --- ChangeLog 7 Dec 2008 03:41:04 -0000 1.67
24 +++ ChangeLog 29 Mar 2009 05:41:21 -0000 1.68
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-doc/abs-guide
27 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-doc/abs-guide/ChangeLog,v 1.67 2008/12/07 03:41:04 dirtyepic Exp $
29 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-doc/abs-guide/ChangeLog,v 1.68 2009/03/29 05:41:21 dirtyepic Exp $
31 +
32 +*abs-guide-6.0 (29 Mar 2009)
33 +
34 + 29 Mar 2009; Ryan Hill <dirtyepic@g.o> +abs-guide-6.0.ebuild:
35 + Version bump, now covers Bash 4.
36 + Add pdf USE flag to install pdf version.
37
38 07 Dec 2008; Ryan Hill <dirtyepic@g.o> -abs-guide-5.3.ebuild,
39 abs-guide-5.5.ebuild:
40
41
42
43 1.1 app-doc/abs-guide/abs-guide-6.0.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/abs-guide/abs-guide-6.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/abs-guide/abs-guide-6.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: abs-guide-6.0.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-doc/abs-guide/abs-guide-6.0.ebuild,v 1.1 2009/03/29 05:41:21 dirtyepic Exp $
53
54 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
55
56 DESCRIPTION="An advanced reference and a tutorial on bash shell scripting"
57 HOMEPAGE="http://www.tldp.org/LDP/abs/html"
58
59 # Upstream likes to update the tarball without changing the name.
60 # - fetch http://bash.neuralshortcircuit.com/abs-guide-latest.tar.bz2
61 # rename to abs-guide-${PV}.tar.bz2
62 # - fetch http://bash.neuralshortcircuit.com/abs-guide.pdf
63 # rename to abs-guide-${PV}.pdf
64 SRC_URI="mirror://gentoo/${P}.tar.bz2
65 pdf? ( mirror://gentoo/${P}.pdf )"
66
67 LICENSE="OPL"
68 IUSE="pdf"
69 SLOT="0"
70
71 DEPEND=""
72 RDEPEND=""
73
74 S="${WORKDIR}/abs"
75
76 src_unpack() {
77 unpack ${P}.tar.bz2
78 use pdf && cp "${DISTDIR}"/${P}.pdf "${S}"
79 cd "${S}"
80 }
81
82 src_install() {
83 dodir /usr/share/doc/${P} || die "dodir failed"
84 cp -R * "${D}"/usr/share/doc/${P} || die "cp failed"
85 use pdf && { cp ${P}.pdf "${D}"/usr/share/doc/${P} || die "pdf failed"; }
86 }