From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-shells/dash: ChangeLog dash-0.5.4.6-r1.ebuild |
Date: | Mon, 28 Jan 2008 18:46:30 |
Message-Id: | E1JJYzz-0000db-Hq@stork.gentoo.org |
1 | vapier 08/01/28 18:46:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dash-0.5.4.6-r1.ebuild |
5 | Log: |
6 | Make sure we install into /bin #207942 by Martin. |
7 | (Portage version: 2.1.4) |
8 | |
9 | Revision Changes Path |
10 | 1.51 app-shells/dash/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/dash/ChangeLog?rev=1.51&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/dash/ChangeLog?rev=1.51&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/dash/ChangeLog?r1=1.50&r2=1.51 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-shells/dash/ChangeLog,v |
19 | retrieving revision 1.50 |
20 | retrieving revision 1.51 |
21 | diff -u -r1.50 -r1.51 |
22 | --- ChangeLog 28 Jan 2008 15:37:32 -0000 1.50 |
23 | +++ ChangeLog 28 Jan 2008 18:46:26 -0000 1.51 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-shells/dash |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | |
28 | +*dash-0.5.4.6-r1 (28 Jan 2008) |
29 | + |
30 | + 28 Jan 2008; Mike Frysinger <vapier@g.o> +dash-0.5.4.6-r1.ebuild: |
31 | + Make sure we install into /bin #207942 by Martin. |
32 | + |
33 | *dash-0.5.4.6 (28 Jan 2008) |
34 | |
35 | 28 Jan 2008; Mike Frysinger <vapier@g.o> +dash-0.5.4.6.ebuild: |
36 | |
37 | |
38 | |
39 | 1.1 app-shells/dash/dash-0.5.4.6-r1.ebuild |
40 | |
41 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/dash/dash-0.5.4.6-r1.ebuild?rev=1.1&view=markup |
42 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/dash/dash-0.5.4.6-r1.ebuild?rev=1.1&content-type=text/plain |
43 | |
44 | Index: dash-0.5.4.6-r1.ebuild |
45 | =================================================================== |
46 | # Copyright 1999-2008 Gentoo Foundation |
47 | # Distributed under the terms of the GNU General Public License v2 |
48 | # $Header: /var/cvsroot/gentoo-x86/app-shells/dash/dash-0.5.4.6-r1.ebuild,v 1.1 2008/01/28 18:46:26 vapier Exp $ |
49 | |
50 | inherit autotools eutils flag-o-matic |
51 | |
52 | DEB_PV=${PV%.*} |
53 | DEB_PATCH=${PV##*.} |
54 | DEB_PF="${PN}_${DEB_PV}-${DEB_PATCH}" |
55 | MY_P="${PN}-${DEB_PV}" |
56 | |
57 | DESCRIPTION="DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell) and is POSIX compliant" |
58 | HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/" |
59 | SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${PN}-${DEB_PV}.tar.gz |
60 | mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz" |
61 | |
62 | LICENSE="BSD" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86" |
65 | IUSE="libedit static" |
66 | |
67 | DEPEND="libedit? ( dev-libs/libedit )" |
68 | |
69 | S="${WORKDIR}/${MY_P}" |
70 | |
71 | src_unpack() { |
72 | unpack ${A} |
73 | |
74 | epatch "${WORKDIR}"/${DEB_PF}.diff |
75 | cd "${S}" |
76 | epatch debian/diff/* |
77 | |
78 | # Fix the invalid sort |
79 | sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins |
80 | |
81 | # Always statically link libedit in to ensure we always boot if it changes |
82 | # which it has done in the past. |
83 | local s="s/-ledit/-Wl,-Bstatic -ledit -Wl,-Bdynamic -lcurses/g" |
84 | use static && s="s/-ledit/-ledit -lcurses/g" |
85 | sed -i -e "${s}" configure.ac || die "Failed to sed configure.ac" |
86 | |
87 | # May as well, as the debian patches force this anyway |
88 | eautoreconf |
89 | } |
90 | |
91 | src_compile() { |
92 | use static && append-ldflags -static |
93 | econf \ |
94 | --bindir=/bin \ |
95 | $(use_with libedit) \ |
96 | || die "econf failed" |
97 | emake || die |
98 | } |
99 | |
100 | src_install() { |
101 | emake install DESTDIR="${D}" || die |
102 | dodoc ChangeLog debian/changelog |
103 | } |
104 | |
105 | |
106 | |
107 | -- |
108 | gentoo-commits@l.g.o mailing list |