blob: eaf34c396030438743be5d3b3750893849f17de6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/dash/dash-0.5.1.1.ebuild,v 1.1 2004/08/20 23:04:50 seemant Exp $
inherit eutils
IUSE=""
MY_P=${P%.*}
MY_P2=${MY_P/-/_}
DEB_P=${PN}_${PV%.*}-${PV##*.}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Debian-version of NetBSD's lightweight bourne shell"
HOMEPAGE="http://ftp.debian.org/debian/pool/main/d/dash/"
SRC_URI="mirror://debian/pool/main/d/dash/${MY_P2}.orig.tar.gz \
mirror://debian/pool/main/d/dash/${DEB_P}.diff.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~x86 ~ppc"
DEPEND="sys-devel/pmake
sys-apps/sed
dev-util/yacc"
src_compile() {
epatch ${WORKDIR}/${DEB_P}.diff
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
exeinto /bin
newexe src/dash dash
newman src/dash.1 dash.1
dodoc COPYING debian/changelog
}
|