/[gentoo-x86]/app-shells/mksh/mksh-39c.ebuild
Gentoo

Contents of /app-shells/mksh/mksh-39c.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Mar 25 01:37:51 2012 UTC (2 years, 7 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Bump

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

1 hwoarang 1.3 # Copyright 1999-2011 Gentoo Foundation
2 patrick 1.1 # Distributed under the terms of the GNU General Public License v2
3 patrick 1.5 # $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-39c.ebuild,v 1.4 2011/02/10 16:12:28 tomka 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     SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz
11     http://www.mirbsd.org/MirOS/dist/hosted/other/arc4random.c.${ARC4_VERSION}"
12     LICENSE="BSD"
13     SLOT="0"
14 tomka 1.4 KEYWORDS="amd64 ~ppc x86"
15 patrick 1.1 IUSE=""
16     DEPEND="app-arch/cpio"
17     RDEPEND=""
18     S="${WORKDIR}/${PN}"
19    
20     src_unpack() {
21     gzip -dc "${DISTDIR}/${PN}-R${PV}.cpio.gz" | cpio -mid
22     cp "${DISTDIR}/arc4random.c.${ARC4_VERSION}" "${S}/arc4random.c" || die
23 patrick 1.2 epatch "${FILESDIR}/${P}-urandom-write.patch"
24 patrick 1.1 }
25    
26     src_compile() {
27     tc-export CC
28     sh Build.sh -r || die
29     }
30    
31     src_install() {
32     exeinto /bin
33     doexe mksh || die
34     doman mksh.1 || die
35     dodoc dot.mkshrc || die
36     }
37    
38     src_test() {
39     ./test.sh || die
40     }

  ViewVC Help
Powered by ViewVC 1.1.20