From 08c2268b250312b7295928f243b8e9bbccba7636 Mon Sep 17 00:00:00 2001 From: Kito Danya Dietrich Date: Mon, 27 Sep 2004 20:03:14 +0000 Subject: more syntax cleanup --- sys-apps/bootstrap_cmds/bootstrap_cmds-44.ebuild | 31 ++++++++++++------------ 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'sys-apps/bootstrap_cmds') diff --git a/sys-apps/bootstrap_cmds/bootstrap_cmds-44.ebuild b/sys-apps/bootstrap_cmds/bootstrap_cmds-44.ebuild index 2e8af1c9bcb7..90148b983bd2 100644 --- a/sys-apps/bootstrap_cmds/bootstrap_cmds-44.ebuild +++ b/sys-apps/bootstrap_cmds/bootstrap_cmds-44.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/bootstrap_cmds/bootstrap_cmds-44.ebuild,v 1.4 2004/09/27 18:39:23 kito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/bootstrap_cmds/bootstrap_cmds-44.ebuild,v 1.5 2004/09/27 20:03:14 kito Exp $ DESCRIPTION="Darwin bootstrap_cmds - config, decomment, mig, relpath" HOMEPAGE="http://darwinsource.opendarwin.org/10.3.5/" @@ -22,7 +22,6 @@ DEPEND="virtual/libc" BUILDARCHS="ppc" pkg_setup() { - mkdir -p ${WORKDIR}/build/obj ${WORKDIR}/build/sym ${S}/BUILD export RC_OS=macos export RC_ARCHS=${BUILDARCHS} export TARGETS=${BUILDARCHS} @@ -33,29 +32,29 @@ pkg_setup() { export RC_CFLAGS="${CFLAGS}" } -src_compile() { - cd ${S} - emake || die "make failed" -} - -src_install() { - cd ${S} +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/build/obj ${WORKDIR}/build/sym ${S}/BUILD rm ${S}/Makefile.postamble rm ${S}/config.tproj/Makefile.postamble rm ${S}/decomment.tproj/Makefile.postamble rm ${S}/relpath.tproj/Makefile.postamble +} + +src_compile() { + emake || die "make failed" +} - make install DSTROOT=${S}/BUILD +src_install() { + make install DSTROOT=${S}/BUILD || die "make install failed" - dobin ${S}/BUILD/usr/bin/config - newbin ${S}/migcom.tproj/mig.sh mig - newbin ${S}/vers_string.sh vers_string - dobin ${S}/BUILD/usr/local/bin/decomment - dobin ${S}/BUILD/usr/local/bin/relpath + newbin ${S}/migcom.tproj/mig.sh mig || die "newbin mig failed" + newbin ${S}/vers_string.sh vers_string || die "newbin vers_string failed" + dobin ${S}/BUILD/usr/local/bin/{decomment,relpath} ${S}/BUILD/usr/bin/config \ + || die "dobin decomment, relpath, config failed" exeinto /usr/libexec doexe ${S}/BUILD/usr/libexec/migcom - cd ${S} doman ${S}/vers_string.1 } \ No newline at end of file -- cgit v1.2.3-65-gdbad