/[gentoo-x86]/app-shells/dash/dash-0.5.2.4.ebuild
Gentoo

Contents of /app-shells/dash/dash-0.5.2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Sep 14 21:11:18 2005 UTC (13 years, 1 month ago) by ka0ttic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
0.5.2.7 stable on x86; remove 0.5.2.4.
(Portage version: 2.0.52-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-shells/dash/dash-0.5.2.4.ebuild,v 1.4 2005/08/28 05:58:14 vapier Exp $
4
5 inherit eutils versionator flag-o-matic toolchain-funcs
6
7 DEB_P="${PN}_$(replace_version_separator 3 '-')"
8 MY_P2="${DEB_P%-*}"
9 MY_P="${MY_P2/_/-}"
10
11 DESCRIPTION="Debian-version of NetBSD's lightweight bourne shell"
12 HOMEPAGE="http://ftp.debian.org/debian/pool/main/d/dash/"
13 SRC_URI="mirror://debian/pool/main/d/dash/${MY_P2}.orig.tar.gz \
14 mirror://debian/pool/main/d/dash/${DEB_P}.diff.gz"
15
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="ppc x86"
19 IUSE="static"
20
21 RDEPEND=""
22 DEPEND="${RDEPEND}
23 sys-apps/sed
24 dev-util/yacc"
25
26 S="${WORKDIR}/${MY_P}"
27
28 src_unpack() {
29 unpack ${A}
30 cd ${S}
31 epatch ${WORKDIR}/${DEB_P}.diff
32 }
33
34 src_compile() {
35 use static && append-ldflags -static
36
37 export CC="$(tc-getCC)"
38 econf || die "econf failed"
39 emake CFLAGS="${CFLAGS}" || die "emake failed"
40 }
41
42 src_install() {
43 exeinto /bin
44 newexe src/dash dash
45 newman src/dash.1 dash.1
46 dodoc COPYING ChangeLog
47 }

  ViewVC Help
Powered by ViewVC 1.1.20