summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ldaptor/ldaptor-0.0.6.ebuild')
-rw-r--r--dev-python/ldaptor/ldaptor-0.0.6.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/ldaptor/ldaptor-0.0.6.ebuild b/dev-python/ldaptor/ldaptor-0.0.6.ebuild
new file mode 100644
index 000000000000..c64b75cd8fe3
--- /dev/null
+++ b/dev-python/ldaptor/ldaptor-0.0.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.6.ebuild,v 1.1 2002/12/13 16:50:56 lordvan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Ldaptor"
+SRC_URI="http://twistedmatrix.com/users/tv/ldaptor/${PN}_${PV}.tar.gz"
+HOMEPAGE="http://twistedmatrix.com/users/tv/ldaptor/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+DEPEND=">=dev-python/twisted-1.0.1-r1"
+RDEPEND="$DEPEND"
+KEYWORDS="~x86 ~alpha ~sparc"
+IUSE=""
+
+#inherit distutils
+
+src_compile() {
+ python setup-ldaptor-utils.py build || \
+ die "compilation of ldaptor-utils failed"
+ python setup-ldaptor-webui.py build || \
+ die "compilation of ldaptor-webui failed"
+ python setup-python-ldaptor.py build || \
+ die "compilation of python-ldaptor failed"
+}
+src_install() {
+ python setup-ldaptor-utils.py install --root=${D} || die
+ python setup-ldaptor-webui.py install --root=${D} || die
+ python setup-python-ldaptor.py install --root=${D} || die
+
+ dodoc README TODO rfc2251-status.txt
+
+ # install examples
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+
+ # install tests
+ dodir /usr/share/doc/${PF}/tests
+ insinto /usr/share/doc/${PF}/tests
+ doins tests/*
+}
+