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

Contents of /app-shells/mksh/mksh-44.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Feb 6 09:37:57 2014 UTC (6 months, 1 week ago) by polynomial-c
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Removed old versions

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)

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

  ViewVC Help
Powered by ViewVC 1.1.20