/[gentoo-x86]/app-shells/mksh/mksh-36b.ebuild
Gentoo

Contents of /app-shells/mksh/mksh-36b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Dec 21 01:41:27 2008 UTC (5 years, 8 months ago) by hanno
Branch: MAIN
mksh bump
(Portage version: 2.2_rc17/cvs/Linux 2.6.28-rc9 x86_64)

1 hanno 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-36.ebuild,v 1.1 2008/10/25 22:37:34 hanno Exp $
4    
5     inherit eutils
6    
7     DESCRIPTION="MirBSD KSH Shell"
8     HOMEPAGE="http://mirbsd.de/mksh"
9     ARC4_VERSION="1.12"
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     KEYWORDS="~amd64 ~ppc ~x86"
15     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     }
24    
25     src_compile() {
26     tc-export CC
27     sh Build.sh -r || die
28     }
29    
30     src_install() {
31     exeinto /bin
32     doexe mksh || die
33     doman mksh.1 || die
34     dodoc dot.mkshrc || die
35     }
36    
37     src_test() {
38     ./test.sh || die
39     }

  ViewVC Help
Powered by ViewVC 1.1.20