# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger # $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-1.4.99.0.20001108.ebuild,v 1.5 2001/06/15 13:08:50 achim Exp $ P=netatalk-1.4.99-0.20001108 A=${P}.tar.gz S=${WORKDIR}/${PN} DESCRIPTION="Apple-Talk" SRC_URI="http://download.sourceforge.net/netatalk/${A}" HOMEPAGE="http://netatakl.sourceforge.net" DEPEND="virtual/glibc pam? ( sys-libs/pam-0.7 ) tcpd? ( sys-apps/tcp-wrappers ) sys-apps/shadow sys-devel/libtool sys-devel/autoconf sys-devel/automake >=sys-libs/db-3" RDEPEND="virtual/glibc pam? ( sys-libs/pam-0.7 ) sys-apps/shadow >=sys-libs/db-3" src_compile() { local myconf if [ "`use pam`" ] ; then myconf="--with-pam" fi if [ "`use tcpd`" ] ; then myconf="$myconf --with-tcp-wrappers" fi try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \ $myconf try make } src_install() { try make DESTDIR=${D} install rm ${D}/etc/rc.d/init.d/* exeinto /etc/rc.d/init.d doexe ${FILESDIR}/atalk dodoc BUGS CHANGES README* COPYRIGHT VERSION }