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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Apr 7 00:49:50 2012 UTC (2 years, 6 months ago) by patrick
Branch: MAIN
Bump

(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)

1 patrick 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-40e.ebuild,v 1.2 2012/03/26 08:00:35 patrick Exp $
4    
5     inherit eutils
6    
7     DESCRIPTION="MirBSD KSH Shell"
8     HOMEPAGE="http://mirbsd.de/mksh"
9     ARC4_VERSION="1.14"
10     SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz"
11     LICENSE="BSD"
12     SLOT="0"
13     KEYWORDS="~amd64 ~ppc ~x86"
14     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