summaryrefslogtreecommitdiff
blob: 1485d5604dbf64dbb7ad454233b4795688e32243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $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 

}