add missing mtd output message
[openwrt.git] / openwrt / package / vnstat / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=vnstat
6 PKG_VERSION:=1.4
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=9184f79b5e60499bc059f670032291e5
9
10 PKG_SOURCE_URL:=http://humdi.net/vnstat
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,VNSTAT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 $(TARGET_CONFIGURE_OPTS)
27 touch $@
28
29 $(IPKG_VNSTAT):
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)
This page took 0.03839 seconds and 5 git commands to generate.