/[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 - (hide annotations) (download)
Sat Dec 1 03:12:33 2012 UTC (22 months, 2 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 ottxor 1.3 # Copyright 1999-2012 Gentoo Foundation
2 patrick 1.1 # Distributed under the terms of the GNU General Public License v2
3 patrick 1.4 # $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-9999.ebuild,v 1.3 2012/09/22 20:04:21 ottxor Exp $
4 patrick 1.1
5 ottxor 1.3 EAPI=4
6 patrick 1.1
7 ottxor 1.3 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 patrick 1.1
23 patrick 1.2 DESCRIPTION="MirBSD Korn Shell"
24 patrick 1.1 HOMEPAGE="http://mirbsd.de/mksh"
25     LICENSE="BSD"
26     SLOT="0"
27     IUSE=""
28 ottxor 1.3 DEPEND="${DEPEND}"
29 patrick 1.1 RDEPEND=""
30     S="${WORKDIR}/${PN}"
31    
32     src_compile() {
33     tc-export CC
34 ottxor 1.3 export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
35 patrick 1.4 sh Build.sh -r -c lto || sh Rebuild.sh || die
36 patrick 1.1 }
37    
38     src_install() {
39     exeinto /bin
40 ottxor 1.3 doexe mksh
41     doman mksh.1
42     dodoc dot.mkshrc
43 patrick 1.1 }
44    
45     src_test() {
46     ./test.sh || die
47     }

  ViewVC Help
Powered by ViewVC 1.1.20