PDA

View Full Version : is it possible to use emake in other distributions?



paradigm_shift
07-23-2005, 01:31 AM
where can you get emake that is in gentoo that can be used in other distributions of linux?

UnderScore
07-23-2005, 01:53 AM
where can you get emake that is in gentoo that can be used in other distributions of linux?
Do you have any idea what you are asking? emake is just a wrapper script for make.

james@dualcrush:/mnt/storage2$ mkdir emake-test
james@dualcrush:/mnt/storage2$ cd emake-test/
james@dualcrush:/mnt/storage2/emake-test$ wget http://gentoo.mirrors.pair.com/d
istfiles/portage-2.0.51.19.tar.bz2
--20:46:48-- http://gentoo.mirrors.pair.com/distfiles/portage-2.0.51.19.tar.bz2

=> `portage-2.0.51.19.tar.bz2'
Resolving gentoo.mirrors.pair.com... 216.92.2.140
Connecting to gentoo.mirrors.pair.com[216.92.2.140]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 284,502 [application/x-tar]

100%[====================================>] 284,502 519.31K/s

20:46:48 (517.84 KB/s) - `portage-2.0.51.19.tar.bz2' saved [284502/284502]

james@dualcrush:/mnt/storage2/emake-test$ tar jxvf portage-2.0.51.19.tar.bz2
portage-2.0.51.19/
portage-2.0.51.19/bin/
portage-2.0.51.19/bin/fixpackages
[SNIP]
portage-2.0.51.19/src/python-missingos/ChangeLog
portage-2.0.51.19/src/bsd-flags/
portage-2.0.51.19/src/bsd-flags/PKG-INFO
portage-2.0.51.19/src/bsd-flags/setup.cfg
portage-2.0.51.19/src/bsd-flags/setup.py
portage-2.0.51.19/src/bsd-flags/chflags.c
portage-2.0.51.19/ChangeLog
james@dualcrush:/mnt/storage2/emake-test$ cd portage-2.0.51.19
james@dualcrush:/mnt/storage2/emake-test/portage-2.0.51.19$ cd bin/
james@dualcrush:/mnt/storage2/emake-test/portage-2.0.51.19/bin$ cat emake
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-src/portage/bin/emake,v 1.9 2004/10/04 13:56:50 v
apier Exp $
#
# emake: Supplies some default parameters to GNU make. At the moment the
# only parameter supplied is -jN, where N is a number of
# parallel processes that should be ideal for the running host
# (e.g. on a single-CPU machine, N=2). The MAKEOPTS variable
# is set in /etc/make.globals. We don't source
# /etc/make.globals here because emake is only called from an
# ebuild.

make ${MAKEOPTS} ${EXTRA_EMAKE} "$@"
james@dualcrush:/mnt/storage2/emake-test/portage-2.0.51.19/bin$

If you are interested in using a tool like emerge to build packages from source then see http://lyre.mit.edu/~powell/debian-howto/build-source.html