diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2001-10-07 20:35:07 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2001-10-07 20:35:07 +0000 |
commit | fd176d420f5177ad9cb32d414b78633281e0fd19 (patch) | |
tree | 6e88d4152e86d76339a1840fa286d653584f3a25 /dev-util/dmake | |
parent | new incoming (diff) | |
download | gentoo-2-fd176d420f5177ad9cb32d414b78633281e0fd19.tar.gz gentoo-2-fd176d420f5177ad9cb32d414b78633281e0fd19.tar.bz2 gentoo-2-fd176d420f5177ad9cb32d414b78633281e0fd19.zip |
Fixed nasty /usr/local oversight
Diffstat (limited to 'dev-util/dmake')
-rw-r--r-- | dev-util/dmake/dmake-4.1-r1.ebuild | 56 | ||||
-rw-r--r-- | dev-util/dmake/files/digest-dmake-4.1-r1 | 1 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/dmake/dmake-4.1-r1.ebuild b/dev-util/dmake/dmake-4.1-r1.ebuild new file mode 100644 index 000000000000..2c6981cbe1ac --- /dev/null +++ b/dev-util/dmake/dmake-4.1-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Karl Trygve Kalleberg <karltk@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/dmake-4.1-r1.ebuild,v 1.1 2001/10/07 20:35:07 karltk 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 + +} + diff --git a/dev-util/dmake/files/digest-dmake-4.1-r1 b/dev-util/dmake/files/digest-dmake-4.1-r1 new file mode 100644 index 000000000000..efaf499ee39e --- /dev/null +++ b/dev-util/dmake/files/digest-dmake-4.1-r1 @@ -0,0 +1 @@ +MD5 5841be5f11b8294e95edc1f28cc11c5b dmake-v4.1-src-export.all-unknown-all.tar.gz |