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

Contents of /app-shells/dash/dash-0.5.3.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Oct 9 08:37:51 2007 UTC (11 years ago) by uberlord
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Punt old ebuilds
(Portage version: 2.1.3.11)

1 # Copyright 1999-2006 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.3.3-r1.ebuild,v 1.1 2006/10/09 15:18:10 exg 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="~amd64 ~ppc ~x86"
19 IUSE="static"
20
21 RDEPEND=""
22 DEPEND="sys-devel/bison"
23
24 S="${WORKDIR}/${MY_P}"
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29 epatch "${WORKDIR}"/${DEB_P}.diff
30 epatch "${FILESDIR}"/${P}-non-matching-charclass.patch
31 }
32
33 src_compile() {
34 use static && append-ldflags -static
35
36 export CC="$(tc-getCC)"
37 econf || die "econf failed"
38 emake CFLAGS="${CFLAGS}" || die "emake failed"
39 }
40
41 src_install() {
42 exeinto /bin
43 newexe src/dash dash
44 newman src/dash.1 dash.1
45 dodoc COPYING ChangeLog
46 }

  ViewVC Help
Powered by ViewVC 1.1.20