Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/astrolog: astrolog-5.40.ebuild
Date: Fri, 01 Jan 2010 17:55:17
Message-Id: E1NQliR-0000LE-6C@stork.gentoo.org
1 ssuominen 10/01/01 17:55:11
2
3 Modified: astrolog-5.40.ebuild
4 Log:
5 Fix quoting
6 (Portage version: 2.2_rc61/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.12 app-misc/astrolog/astrolog-5.40.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild?rev=1.12&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild?rev=1.12&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild?r1=1.11&r2=1.12
14
15 Index: astrolog-5.40.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild,v
18 retrieving revision 1.11
19 retrieving revision 1.12
20 diff -u -r1.11 -r1.12
21 --- astrolog-5.40.ebuild 22 Jul 2007 10:06:45 -0000 1.11
22 +++ astrolog-5.40.ebuild 1 Jan 2010 17:55:10 -0000 1.12
23 @@ -1,25 +1,23 @@
24 -# Copyright 1999-2007 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild,v 1.11 2007/07/22 10:06:45 omp Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild,v 1.12 2010/01/01 17:55:10 ssuominen Exp $
29
30 DESCRIPTION="A many featured astrology chart calculation program"
31 HOMEPAGE="http://www.astrolog.org/astrolog.htm"
32 SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
33 +
34 LICENSE="astrolog"
35 SLOT="0"
36 -
37 -# works fine on x86 - runs probably on other architectures, too
38 KEYWORDS="x86 ppc64 ppc amd64"
39 -
40 IUSE="X"
41
42 DEPEND="X? ( x11-libs/libX11 )"
43
44 -S="${WORKDIR}"
45 +S=${WORKDIR}
46
47 src_unpack() {
48 - bash ${DISTDIR}/ast54unx.shr
49 - cd ${S}
50 + bash "${DISTDIR}"/ast54unx.shr
51 + cd "${S}"
52
53 # remove stripping of created binary and substituce CFLAGS
54 sed -i -e "s:strip:#strip:" -e "s:= -O:= ${CFLAGS}:" Makefile
55 @@ -45,11 +43,10 @@
56 }
57
58 src_install() {
59 - dodir /usr/bin
60 - cp astrolog ${D}/usr/bin/
61 + dobin astrolog || die
62 dodoc Helpfile.540 README.1ST README.540 Update.540
63 - dodir /usr/share/astrolog
64 - cp astrolog.dat ${D}/usr/share/astrolog/
65 + insinto /usr/share/astrolog
66 + doins astrolog.dat || die
67 }
68
69 pkg_postinst() {