1 include $(TOPDIR
)/rules.mk
8 PKG_SOURCE_URL
:=ftp
://iptraf.seul.org
/pub
/iptraf
/ \
9 ftp
://the.wiretapped.net
/pub
/security
/network-monitoring
/iptraf
/
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
14 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,IPTRAF
,iptraf
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
: $(PKG_BUILD_DIR
)/.prepared
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
25 $(TARGET_CONFIGURE_OPTS
) \
26 CFLAGS
="$(TARGET_CFLAGS)" \
28 INCLUDEDIR
="-I../support -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
29 LDOPTS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
30 PLATFORM
="-DPLATFORM=\\\"Linux/$(ARCH)\\\"" \
32 WORKDIR
="/var/lib/iptraf" \
37 install -d
-m0755
$(IDIR_IPTRAF
)/usr
/bin
38 install -m0755
$(PKG_BUILD_DIR
)/src
/iptraf
$(IDIR_IPTRAF
)/usr
/bin
/
39 $(RSTRIP
) $(IDIR_IPTRAF
)
40 $(IPKG_BUILD
) $(IDIR_IPTRAF
) $(PACKAGE_DIR
)
43 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
44 rm -f
$(PKG_BUILD_DIR
)/.built
This page took 0.038334 seconds and 5 git commands to generate.