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

Diff of /app-shells/mksh/mksh-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.4
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-9999.ebuild,v 1.1 2011/02/11 15:50:21 patrick Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-9999.ebuild,v 1.4 2012/12/01 03:12:33 patrick Exp $
4 4
5inherit eutils cvs 5EAPI=4
6 6
7ECVS_SERVER="anoncvs.mirbsd.org:/cvs" 7inherit eutils toolchain-funcs
8ECVS_MODULE="mksh"
9ECVS_USER="_anoncvs"
10ECVS_AUTH="ext"
11 8
9if [[ $PV = 9999 ]]; then
10 inherit cvs
11 ECVS_SERVER="anoncvs.mirbsd.org:/cvs"
12 ECVS_MODULE="mksh"
13 ECVS_USER="_anoncvs"
14 ECVS_AUTH="ext"
15 KEYWORDS=""
16else
17 inherit unpacker
18 DEPEND="app-arch/cpio"
19 SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz"
20 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
21fi
22
12DESCRIPTION="MirBSD KSH Shell" 23DESCRIPTION="MirBSD Korn Shell"
13HOMEPAGE="http://mirbsd.de/mksh" 24HOMEPAGE="http://mirbsd.de/mksh"
14ARC4_VERSION="1.14"
15LICENSE="BSD" 25LICENSE="BSD"
16SLOT="0" 26SLOT="0"
17KEYWORDS=""
18IUSE="" 27IUSE=""
19DEPEND="app-arch/cpio" 28DEPEND="${DEPEND}"
20RDEPEND="" 29RDEPEND=""
21S="${WORKDIR}/${PN}" 30S="${WORKDIR}/${PN}"
22 31
23src_unpack() {
24 cvs_src_unpack
25}
26
27src_compile() { 32src_compile() {
28 tc-export CC 33 tc-export CC
29 sh Build.sh -r || die 34 export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
35 sh Build.sh -r -c lto || sh Rebuild.sh || die
30} 36}
31 37
32src_install() { 38src_install() {
33 exeinto /bin 39 exeinto /bin
34 doexe mksh || die 40 doexe mksh
35 doman mksh.1 || die 41 doman mksh.1
36 dodoc dot.mkshrc || die 42 dodoc dot.mkshrc
37} 43}
38 44
39src_test() { 45src_test() {
40 ./test.sh || die 46 ./test.sh || die
41} 47}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20