summaryrefslogtreecommitdiff
path: root/package/trafshow/Makefile
blob: 5cdc7c7393f81ed5e3d1b27b067fb0e1d81e0f60 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		trafshow
PKG_VERSION:=		5.2.3
PKG_RELEASE:=		1
PKG_MD5SUM:=		0b2f0bb23b7832138b7d841437b9e182
PKG_DESCR:=		traffic analyzing tool
PKG_SECTION:=		net
PKG_BUILDDEP:=		libpcap ncurses
PKG_DEPENDS:=		libpcap libncurses libpthread
PKG_SITES:=		http://openadk.org/distfiles
PKG_NOPARALLEL:=	1

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tgz

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,TRAFSHOW,trafshow,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

TARGET_CPPFLAGS+=	-DHAVE_SOCKADDR_STORAGE -DHAVE_HAS_COLORS

post-install:
	${INSTALL_DIR} ${IDIR_TRAFSHOW}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/trafshow ${IDIR_TRAFSHOW}/usr/bin/

include ${TOPDIR}/mk/pkg-bottom.mk