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

Diff of /app-shells/mksh/mksh-40d.ebuild

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

Revision 1.1 Revision 1.2
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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/Attic/mksh-40d.ebuild,v 1.1 2011/12/12 03:23:17 patrick Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/Attic/mksh-40d.ebuild,v 1.2 2011/12/13 06:33:19 patrick Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7DESCRIPTION="MirBSD KSH Shell" 7DESCRIPTION="MirBSD KSH Shell"
8HOMEPAGE="http://mirbsd.de/mksh" 8HOMEPAGE="http://mirbsd.de/mksh"
9ARC4_VERSION="1.14" 9ARC4_VERSION="1.14"
10SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz 10SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz"
11 http://www.mirbsd.org/MirOS/dist/hosted/other/arc4random.c.${ARC4_VERSION}"
12LICENSE="BSD" 11LICENSE="BSD"
13SLOT="0" 12SLOT="0"
14KEYWORDS="~amd64 ~ppc ~x86" 13KEYWORDS="~amd64 ~ppc ~x86"
15IUSE="" 14IUSE=""
16DEPEND="app-arch/cpio" 15DEPEND="app-arch/cpio"
17RDEPEND="" 16RDEPEND=""
18S="${WORKDIR}/${PN}" 17S="${WORKDIR}/${PN}"
19 18
20src_unpack() { 19src_unpack() {
21 gzip -dc "${DISTDIR}/${PN}-R${PV}.cpio.gz" | cpio -mid 20 gzip -dc "${DISTDIR}/${PN}-R${PV}.cpio.gz" | cpio -mid
22 cp "${DISTDIR}/arc4random.c.${ARC4_VERSION}" "${S}/arc4random.c" || die
23} 21}
24 22
25src_compile() { 23src_compile() {
26 tc-export CC 24 tc-export CC
27 # we can't assume lto existing/enabled, so we add a fallback 25 # we can't assume lto existing/enabled, so we add a fallback

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

  ViewVC Help
Powered by ViewVC 1.1.20