3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=9184f79b5e60499bc059f670032291e5
10 PKG_SOURCE_URL
:=http
://humdi.net
/vnstat
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,VNSTAT
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
26 $(TARGET_CONFIGURE_OPTS
)
30 install -d
-m0755
$(IDIR_VNSTAT
)/usr
/bin
31 cp
$(PKG_BUILD_DIR
)/src
/vnstat
$(IDIR_VNSTAT
)/usr
/bin
/
32 $(STRIP
) $(IDIR_VNSTAT
)/usr
/bin
/*
33 $(IPKG_BUILD
) $(IDIR_VNSTAT
) $(PACKAGE_DIR
)