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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Dec 1 03:12:33 2012 UTC (23 months, 3 weeks ago) by patrick
Branch: MAIN
Changes since 1.3: +2 -2 lines
Bump

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

1 # Copyright 1999-2012 Gentoo Foundation
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.3 2012/09/22 20:04:21 ottxor Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs
8
9 if [[ $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=""
16 else
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"
21 fi
22
23 DESCRIPTION="MirBSD Korn Shell"
24 HOMEPAGE="http://mirbsd.de/mksh"
25 LICENSE="BSD"
26 SLOT="0"
27 IUSE=""
28 DEPEND="${DEPEND}"
29 RDEPEND=""
30 S="${WORKDIR}/${PN}"
31
32 src_compile() {
33 tc-export CC
34 export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
35 sh Build.sh -r -c lto || sh Rebuild.sh || die
36 }
37
38 src_install() {
39 exeinto /bin
40 doexe mksh
41 doman mksh.1
42 dodoc dot.mkshrc
43 }
44
45 src_test() {
46 ./test.sh || die
47 }

  ViewVC Help
Powered by ViewVC 1.1.20