diff options
author | Tom William Payne <twp@gentoo.org> | 2004-07-09 19:16:39 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2004-07-09 19:16:39 +0000 |
commit | 89c9d8ec6034394a342c636eb2b31b77c0ab6df3 (patch) | |
tree | d8a40536ba920cb18dbf9628aab6d83e3dd00295 /dev-util/scons-cvs/scons-cvs-0.96-r1.ebuild | |
parent | Add beta, remove alpha (diff) | |
download | historical-89c9d8ec6034394a342c636eb2b31b77c0ab6df3.tar.gz historical-89c9d8ec6034394a342c636eb2b31b77c0ab6df3.tar.bz2 historical-89c9d8ec6034394a342c636eb2b31b77c0ab6df3.zip |
Provide dev-util/scons.
Diffstat (limited to 'dev-util/scons-cvs/scons-cvs-0.96-r1.ebuild')
-rw-r--r-- | dev-util/scons-cvs/scons-cvs-0.96-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/scons-cvs/scons-cvs-0.96-r1.ebuild b/dev-util/scons-cvs/scons-cvs-0.96-r1.ebuild new file mode 100644 index 000000000000..7572e2dc8b6d --- /dev/null +++ b/dev-util/scons-cvs/scons-cvs-0.96-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/scons-cvs/scons-cvs-0.96-r1.ebuild,v 1.1 2004/07/09 19:16:39 twp Exp $ + +inherit cvs python distutils + +DESCRIPTION="Extensible python-based build utility" +SRC_URI="" +RESTRICT="nomirror" +HOMEPAGE="http://www.scons.org" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64" + +DEPEND=">=dev-lang/python-2.0 + !dev-util/scons" +PROVIDE="dev-util/scons" + +DOCS="RELEASE.txt CHANGES.txt LICENSE.txt" + +ECVS_SERVER="cvs.sourceforge.net:/cvsroot/scons" +ECVS_MODULE="scons" +ECVS_AUTH="pserver" +S=${WORKDIR}/scons + +src_compile(){ + SCONS_LIB_DIR=`pwd`/src/engine python src/script/scons.py build/scons || die + cd build/scons || die + distutils_src_compile +} + +src_install () { + cd build/scons || die + distutils_src_install + doman scons.1 sconsign.1 +} + +pkg_postinst() { + python_mod_optimize /usr/lib/scons/SCons +} + +pkg_postrm() { + python_mod_cleanup +} |