diff options
Diffstat (limited to 'net-nds/smbldap-tools/smbldap-tools-0.9.1-r1.ebuild')
-rw-r--r-- | net-nds/smbldap-tools/smbldap-tools-0.9.1-r1.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/net-nds/smbldap-tools/smbldap-tools-0.9.1-r1.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.9.1-r1.ebuild new file mode 100644 index 000000000000..adde365191b5 --- /dev/null +++ b/net-nds/smbldap-tools/smbldap-tools-0.9.1-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/smbldap-tools/smbldap-tools-0.9.1-r1.ebuild,v 1.1 2005/07/18 15:26:55 seemant Exp $ + + +inherit eutils + +MY_PN=${PN/-*/} +DESCRIPTION="Idealx samba ldap management tools" +SRC_URI="http://samba.idealx.org/dist/${P}.tgz" +HOMEPAGE="http://samba.idealx.org" + +IUSE="doc" +DEPEND=">sys-apps/sed-4 + net-nds/openldap + >=net-fs/samba-3.0.1 + dev-perl/perl-ldap + dev-perl/Crypt-SmbHash + dev-perl/Digest-SHA1" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +src_unpack() { + unpack ${A}; cd ${S} + + sed -i "s:/etc/opt/IDEALX/\(smbldap-tools/\):/etc/\1:g" smbldap_tools.pm + sed -i "s:/etc/opt/IDEALX/\(smbldap-tools/\):/etc/\1:g" configure.pl + sed -i "s:/etc/opt/IDEALX:/etc:g" smbldap.conf +} + +src_compile() { + einfo "COMPILE: nothing to compile; scripts package" +} + +src_install() { + make install prefix=${D}/usr sysconfdir=${D}/etc || die + + into /usr + dosbin configure.pl + + rm -f ${D}/usr/sbin/*.spec + #libs +# exeinto /etc/samba ; doexe smbldap_tools.pm +# eval `perl '-V:installarchlib'` +# dodir ${installarchlib} +# dosym /etc/samba/smbldap_tools.pm ${installarchlib} +# dosym /etc/samba/smbldap_tools.pm ${sbin_dir} +# #scripts +# dodir ${sbin_ln_dir} +# for script in ${script_list}; do +# dosym ${sbin_dir}/${script} ${sbin_ln_dir}/${script} +# done +# #docs +# dodoc CONTRIBUTORS COPYING ChangeLog FILES INFRA INSTALL README TODO +# if use doc; then +# insinto /usr/share/doc/${PF}/doc; doins ${S}/doc/* +# insinto /usr/share/doc/${PF}/doc/html; doins ${S}/doc/html/* +# fi +} + +pkg_postinst() { + draw_line " " + einfo "A good howto is found on http://samba.idealx.org" + draw_line " " +} |