summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-11 02:09:29 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-11 02:09:29 +0000
commit5fd946ff988c062dc9a409bf56502ee22c71e32f (patch)
tree04396ccdc5fe349fd2107e5ecd8f078b649a9842 /net-fs
parentAdded ~sparc keyword. (Manifest recommit) (diff)
downloadgentoo-2-5fd946ff988c062dc9a409bf56502ee22c71e32f.tar.gz
gentoo-2-5fd946ff988c062dc9a409bf56502ee22c71e32f.tar.bz2
gentoo-2-5fd946ff988c062dc9a409bf56502ee22c71e32f.zip
clean up ebuild #66916
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/am-utils/am-utils-6.0.9-r1.ebuild33
-rw-r--r--net-fs/am-utils/metadata.xml6
2 files changed, 13 insertions, 26 deletions
diff --git a/net-fs/am-utils/am-utils-6.0.9-r1.ebuild b/net-fs/am-utils/am-utils-6.0.9-r1.ebuild
index 55b293e64fa1..7947a3b9da05 100644
--- a/net-fs/am-utils/am-utils-6.0.9-r1.ebuild
+++ b/net-fs/am-utils/am-utils-6.0.9-r1.ebuild
@@ -1,45 +1,38 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/am-utils/am-utils-6.0.9-r1.ebuild,v 1.7 2004/07/14 23:47:41 agriffis Exp $
-
-IUSE="ldap"
+# $Header: /var/cvsroot/gentoo-x86/net-fs/am-utils/am-utils-6.0.9-r1.ebuild,v 1.8 2004/10/11 02:09:29 vapier Exp $
DESCRIPTION="amd automounter and utilities"
HOMEPAGE="http://www.am-utils.org"
SRC_URI="ftp://ftp.am-utils.org/pub/am-utils/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ~x86"
+IUSE="ldap"
+
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-1.2 )"
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~x86 ppc amd64"
-
src_unpack() {
unpack ${A}
cd ${S}
- cat ${FILESDIR}/am-utils-gdbm.patch | patch -p1 || die
+ epatch ${FILESDIR}/am-utils-gdbm.patch
}
src_compile() {
- local myconf
-
- use ldap \
- && myconf="${myconf} --without-ldap" \
- || myconf="${myconf} --with-ldap"
-
- myconf="${myconf} --sysconfdir=/etc/amd"
-
- cd ${S}
- econf ${myconf} || die "configure failed"
+ econf\
+ $(use_with ldap) \
+ --sysconfdir=/etc/amd \
+ || die "configure failed"
emake || die "make failed"
}
src_install() {
make DESTDIR=${D} install || die
- cp ${FILESDIR}/amd.conf ${D}/etc/amd
- cp ${FILESDIR}/amd.net ${D}/etc/amd
+ insinto /etc/amd
+ doins ${FILESDIR}/amd.{conf,net}
exeinto /etc/init.d ; newexe ${FILESDIR}/amd.rc amd
}
diff --git a/net-fs/am-utils/metadata.xml b/net-fs/am-utils/metadata.xml
index c06f9722e86d..ca66751dee2f 100644
--- a/net-fs/am-utils/metadata.xml
+++ b/net-fs/am-utils/metadata.xml
@@ -2,10 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-fs</herd>
-<maintainer>
- <email></email>
- <name></name>
- <description></description>
-</maintainer>
- <longdescription>amd automounter and utilities</longdescription>
</pkgmetadata>