blob: 4938709cf6104184e4af7699f537fbca92f1aa72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/dmake-4.1-r1.ebuild,v 1.2 2002/07/11 06:30:25 drobbins Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Improved make"
SRC_URI="http://plg.uwaterloo.ca/~ftp/dmake/dmake-v4.1-src-export.all-unknown-all.tar.gz"
HOMEPAGE=""
DEPEND="virtual/glibc
sys-apps/groff"
src_unpack() {
cd ${WORKDIR}
unpack dmake-v4.1-src-export.all-unknown-all.tar.gz
mv dmake ${P}
cp ${S}/unix/runargv.c ${S}/unix/runargv.c.orig
cat ${S}/unix/runargv.c.orig | \
sed -e "s:extern.*char \*sys_errlist\[\];::" \
> ${S}/unix/runargv.c
cp ${S}/unix/startup.h ${S}/unix/startup.h.orig
cat ${S}/unix/startup.h | \
sed -e "s:usr/local/lib/dmake:usr/share/dmake:" \
> ${S}/unix/startup.h
}
src_compile() {
sh unix/linux/gnu/make.sh
cat man/dmake.tf > man/dmake.1
}
src_install () {
into /usr
doman man/dmake.1
dobin dmake
insinto /usr/share/dmake/startup
doins startup/{startup.mk,config.mk} startup/unix
}
|