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

Contents of /app-shells/mksh/mksh-40f.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu Feb 6 09:37:57 2014 UTC (8 months, 3 weeks ago) by polynomial-c
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 polynomial-c 1.3 # $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-40f.ebuild,v 1.2 2012/09/22 20:04:21 ottxor Exp $
4 patrick 1.1
5 ottxor 1.2 EAPI=4
6    
7     inherit eutils toolchain-funcs unpacker
8 patrick 1.1
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}.cpio.gz"
13     LICENSE="BSD"
14     SLOT="0"
15 ottxor 1.2 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
16 patrick 1.1 IUSE=""
17     DEPEND="app-arch/cpio"
18     RDEPEND=""
19     S="${WORKDIR}/${PN}"
20    
21 ottxor 1.2 src_prepare(){
22     epatch "${FILESDIR}/${P}-etc-configurable.patch"
23 patrick 1.1 }
24    
25     src_compile() {
26     tc-export CC
27 ottxor 1.2 export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
28 patrick 1.1 # we can't assume lto existing/enabled, so we add a fallback
29     sh Build.sh -r -c lto || sh Rebuild.sh || die
30     }
31    
32     src_install() {
33     exeinto /bin
34 ottxor 1.2 doexe mksh
35     doman mksh.1
36     dodoc dot.mkshrc
37 patrick 1.1 }
38    
39     src_test() {
40     ./test.sh || die
41     }

  ViewVC Help
Powered by ViewVC 1.1.20