summaryrefslogtreecommitdiff
blob: e702e0c54362e4403d7d46ddb4cd4ffb0f4dd46d (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r2.ebuild,v 1.2 2002/08/01 11:59:04 seemant Exp $

DESCRIPTION="Collection of tools for managing UNIX services"
SRC_URI="http://cr.yp.to/${PN}/${P}.tar.gz
		 http://www.fefe.de/ucspi/ucspi-tcp-0.88-ipv6.diff11.bz2"
HOMEPAGE="http://cr.yp.to/${PN}/"
S=${WORKDIR}/${P}
DEPEND="virtual/glibc"
SLOT="0"
KEYWORDS="x86"
LICENSE="as-is"

src_unpack() {

  unpack ${P}.tar.gz
  use ipv6 && bzcat ${DISTDIR}/ucspi-tcp-0.88-ipv6.diff11.bz2 | patch -d ${S} -p1
  cd ${S}
  echo "gcc ${CFLAGS}" > conf-cc
  echo "gcc" > conf-ld
  echo "/usr/" > conf-home
}

src_compile() {
  try pmake
}

src_install() {

  for i in tcpserver tcprules tcprulescheck argv0 recordio tcpclient *\@ tcpcat mconnect mconnect-io addcr delcr fixcrio rblsmtpd
  do
    dobin $i
  done

  dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
}