diff options
Diffstat (limited to 'gentoo/bcfg2-0.8.7.2.ebuild')
-rw-r--r-- | gentoo/bcfg2-0.8.7.2.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/gentoo/bcfg2-0.8.7.2.ebuild b/gentoo/bcfg2-0.8.7.2.ebuild deleted file mode 100644 index 319c77e5a..000000000 --- a/gentoo/bcfg2-0.8.7.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -DESCRIPTION="Bcfg2 is a configuration management tool. Package includes client -and server." -HOMEPAGE="http://trac.mcs.anl.gov/projects/bcfg2" - -# MY_PV=`echo $PV | sed -e 's/_//g'` -# SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${PN}-${MY_PV}.tar.gz" -SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${P}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -# mrj added gamin as an alternative to fam, since that's what i'm using. -DEPEND="dev-python/elementtree - ( || ( app-admin/gamin - app-admin/fam ) )" - -RDEPEND="" - -S=${WORKDIR}/${P} - -src_compile() { - python setup.py build -} - -src_install() { - install -d ${D}/usr/sbin - install -d ${D}/etc/init.d - exeinto /etc/init.d - exeopts -m0755 - doexe ${FILESDIR}/bcfg2-server ${FILESDIR}/bcfg2-client - python setup.py install --root=${D} --record=PY_SERVER_LIBS -} - -pkg_postinst () { - depscan.sh -} - -pkg_postrm () { - [ -f /etc/init.d/bcfg2-client ] && rm -f /etc/init.d/bcfg2-client - [ -f /etc/init.d/bcfg2-server ] && rm -f /etc/init.d/bcfg2-server - depscan.sh -} |