/[gentoo-x86]/app-shells/mksh/mksh-40d.ebuild
Gentoo

Contents of /app-shells/mksh/mksh-40d.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Thu Mar 8 11:40:06 2012 UTC (2 years, 9 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #404617

(Portage version: 2.1.10.44/cvs/Linux i686)

1 ago 1.3 # Copyright 1999-2012 Gentoo Foundation
2 patrick 1.1 # Distributed under the terms of the GNU General Public License v2
3 phajdan.jr 1.4 # $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-40d.ebuild,v 1.3 2012/03/02 15:03:34 ago Exp $
4 patrick 1.1
5     inherit eutils
6    
7     DESCRIPTION="MirBSD KSH Shell"
8     HOMEPAGE="http://mirbsd.de/mksh"
9     ARC4_VERSION="1.14"
10 patrick 1.2 SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz"
11 patrick 1.1 LICENSE="BSD"
12     SLOT="0"
13 phajdan.jr 1.4 KEYWORDS="amd64 ~ppc x86"
14 patrick 1.1 IUSE=""
15     DEPEND="app-arch/cpio"
16     RDEPEND=""
17     S="${WORKDIR}/${PN}"
18    
19     src_unpack() {
20     gzip -dc "${DISTDIR}/${PN}-R${PV}.cpio.gz" | cpio -mid
21     }
22    
23     src_compile() {
24     tc-export CC
25     # we can't assume lto existing/enabled, so we add a fallback
26     sh Build.sh -r -c lto || sh Rebuild.sh || die
27     }
28    
29     src_install() {
30     exeinto /bin
31     doexe mksh || die
32     doman mksh.1 || die
33     dodoc dot.mkshrc || die
34     }
35    
36     src_test() {
37     ./test.sh || die
38     }

  ViewVC Help
Powered by ViewVC 1.1.20