summaryrefslogtreecommitdiff
blob: 7be46d535149eb5b1cc2fe673638a35e18d09663 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Bruce A. Locke <blocke@shivan.org>

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="iplog is a TCP/IP traffic logger"
SRC_URI="http://download.sourceforge.net/ojnk/${P}.tar.gz"
HOMEPAGE="http://ojnk.sourceforge.net/"

DEPEND="virtual/glibc net-libs/libpcap"

src_compile() {

  try ./configure --prefix=/usr
  try make CFLAGS="${CFLAGS} -D_REENTRANT" all

}

src_install() {

  try make prefix=${D}/usr mandir=${D}/usr/share/man  install

  dodoc AUTHORS COPYING.* NEWS README TODO example-iplog.conf
}