freewrt_1_0
freewrt_2_0
|
Last change
on this file since ca629a6 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
846 bytes
|
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= vnstat
|
|---|
| 10 | PKG_VERSION:= 1.4
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 9184f79b5e60499bc059f670032291e5
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= http://humdi.net/vnstat
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,VNSTAT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.configured:
|
|---|
| 22 | touch $@
|
|---|
| 23 |
|
|---|
| 24 | $(WRKBUILD)/.built:
|
|---|
| 25 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 26 | $(TARGET_CONFIGURE_OPTS)
|
|---|
| 27 | touch $@
|
|---|
| 28 |
|
|---|
| 29 | $(IPKG_VNSTAT):
|
|---|
| 30 | install -d -m0755 $(IDIR_VNSTAT)/usr/bin
|
|---|
| 31 | $(CP) $(WRKBUILD)/src/vnstat $(IDIR_VNSTAT)/usr/bin/
|
|---|
| 32 | $(RSTRIP) $(IDIR_VNSTAT)
|
|---|
| 33 | $(IPKG_BUILD) $(IDIR_VNSTAT) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.