binutils: update to 2.43.1
[openadk.git] / package / iptraf / Makefile
blob74184e90ddc1a4d2b12ae2a596905a8d5fb5e9da
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= iptraf
7 PKG_VERSION:= 3.0.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 95a069af8c4d22206985f6ce69acc27cfcfef1d58ad6ab8dbb10c698642ac08a
10 PKG_DESCR:= console-based network monitoring program.
11 PKG_SECTION:= net/perf
12 PKG_DEPENDS:= libncurses
13 PKG_BUILDDEP:= ncurses
14 PKG_URL:= http://iptraf.seul.org/
15 PKG_SITES:= ftp://iptraf.seul.org/pub/iptraf/
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
18 WRKSRC= ${WRKDIST}/src
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,IPTRAF,iptraf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 CONFIG_STYLE:= manual
25 INSTALL_STYLE:= manual
27 TARGET_CPPFLAGS+= -D_GNU_SOURCE
28 TARGET_LDFLAGS+= -ltinfo
29 XAKE_FLAGS+= PLATFORM="-DPLATFORM=\\\"Linux/${ARCH}\\\"" \
30 TARGET="/usr/bin" \
31 WORKDIR="/var/lib/iptraf"
33 do-install:
34 ${INSTALL_DIR} ${IDIR_IPTRAF}/usr/bin
35 ${INSTALL_BIN} ${WRKBUILD}/iptraf ${IDIR_IPTRAF}/usr/bin/
37 include ${ADK_TOPDIR}/mk/pkg-bottom.mk