AG CVS ebuild

Ti Leggett leggett at mcs.anl.gov
Tue Aug 17 12:32:42 CDT 2004


Here's an ebuild I made that will cvs co the toolkit and build from
that. It should go in PORTDIR_OVERLAY/ag-libs/agtk-cvs
-------------- next part --------------
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

ECVS_SERVER="cvs.mcs.anl.gov:/cvs/fl"
ECVS_AUTH="pserver"
ECVS_USER="anonymous"
ECVS_PASS=""
ECVS_MODULE="AccessGrid"

inherit cvs eutils distutils

DESCRIPTION="The Access Grid Toolkit"
HOMEPAGE="http://www.mcs.anl.gov/fl/research/accessgrid/"
SRC_URI=""

LICENSE="AGTPL"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND=">=python-2.3
	>=globus-client/globus-data-management-client-2.4.3
	>=pyglobus-0.9.7
	>=soappy-0.11.4
	>=pyOpenSSL_AG-0.5.1
	>=wxGTK-2.4.2
	>=wxpython-2.4.2.4
	>=xawtv-3.86
	>=ag-media/rat-4.2.22
	>=ag-media/vic-1.1.13"

S=${WORKDIR}/${ECVS_MODULE}

src_compile() {
	#epatch ${FILESDIR}/Config.py-2.2-r2.patch
	distutils_src_compile
}

src_install() {
	${python} setup.py install --root=${D} --no-compile
	rm -rf ${D}/usr/bin ${D}/usr/etc/init.d ${D}/usr/share/AccessGrid ${D}/usr/share/applnk ${D}/usr/share/gnome
	mv ${D}/usr/etc ${D}/etc
	dodoc COPYING.txt ChangeLog README README-developers TODO
	mv ${D}/usr/share/doc/AccessGrid/Documentation ${D}/usr/share/doc/${PF}/.
	rm -rf ${D}/usr/share/doc/AccessGrid
	cp -a ${FILESDIR}/NodeServices ${D}/etc/AccessGrid/Config
	cp -a ${FILESDIR}/SharedApplications ${D}/etc/AccessGrid/Config
	install -d ${D}/etc/AccessGrid/Config/Services
	install -d ${D}/etc/AccessGrid/Config/Logs
	dobin bin/AGNodeService.py bin/AGServiceManager.py bin/BridgeServer.py bin/CertificateRequestTool.py bin/CommandLineVenueClient.py bin/NodeManagement.py bin/NodeSetupWizard.py bin/VenueClient.py bin/VenueManagement.py bin/VenueServer.py bin/agpm.py bin/certmgr.py
}


More information about the ag-dev mailing list