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