1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=9184f79b5e60499bc059f670032291e5
8 PKG_SOURCE_URL
:=http
://humdi.net
/vnstat
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
13 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,VNSTAT
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
24 $(TARGET_CONFIGURE_OPTS
)
28 install -d
-m0755
$(IDIR_VNSTAT
)/usr
/bin
29 cp
$(PKG_BUILD_DIR
)/src
/vnstat
$(IDIR_VNSTAT
)/usr
/bin
/
30 $(STRIP
) $(IDIR_VNSTAT
)/usr
/bin
/*
31 $(IPKG_BUILD
) $(IDIR_VNSTAT
) $(PACKAGE_DIR
)