/[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.1 - (show annotations) (download)
Wed Mar 6 03:55:18 2013 UTC (17 months, 3 weeks ago) by patrick
Branch: MAIN
Bump

(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-43.ebuild,v 1.1 2013/02/22 08:42:22 patrick Exp $
4
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