/[gentoo-x86]/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild
Gentoo

Diff of /sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild

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

Revision 1.4 Revision 1.5
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild,v 1.4 2010/01/08 08:56:43 grobian Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild,v 1.5 2010/03/05 18:04:28 grobian Exp $
4
5EAPI="3"
4 6
5inherit toolchain-funcs eutils 7inherit toolchain-funcs eutils
6 8
7MISC_VER=23 9MISC_VER=23
8SHELL_VER=118 10SHELL_VER=118
22DEPEND="" 24DEPEND=""
23RDEPEND="" 25RDEPEND=""
24 26
25S=${WORKDIR} 27S=${WORKDIR}
26 28
27src_unpack() { 29src_prepare() {
28 unpack ${A}
29 cd "${S}"
30 epatch "${FILESDIR}"/${P}-w.patch 30 epatch "${FILESDIR}"/${P}-w.patch
31 epatch "${FILESDIR}"/${P}-error.patch 31 epatch "${FILESDIR}"/${P}-error.patch
32 epatch "${FILESDIR}"/${P}-stdlib.patch 32 epatch "${FILESDIR}"/${P}-stdlib.patch
33} 33}
34 34
101 $(tc-getCC) -o ${t} *.c || die "failed to compile $t" 101 $(tc-getCC) -o ${t} *.c || die "failed to compile $t"
102 done 102 done
103} 103}
104 104
105src_install() { 105src_install() {
106 local ED=${ED-${D}}
107
108 mkdir -p "${ED}"/bin 106 mkdir -p "${ED}"/bin
109 mkdir -p "${ED}"/usr/bin 107 mkdir -p "${ED}"/usr/bin
110 108
111 local TS=${S}/misc_cmds-${MISC_VER} 109 local TS=${S}/misc_cmds-${MISC_VER}
112 for t in leave units calendar ; do 110 for t in leave units calendar ; do

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

  ViewVC Help
Powered by ViewVC 1.1.20