diff options
| author | Nathaniel Roach <nroach44@gmail.com> | 2014-07-31 13:26:59 +0800 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-07-31 23:26:23 +0200 |
| commit | c9f5a86eaeb16c76f8b1f9cb940d2207759dd8d3 (patch) | |
| tree | 796ca9ba7e82bf82106be76b66a13f908a130923 /package/bandwidthd/bandwidthd.mk | |
| parent | 90b7d53cd18668729da49b097128fa4dcc7d9581 (diff) | |
| download | buildroot-c9f5a86eaeb16c76f8b1f9cb940d2207759dd8d3.tar.gz buildroot-c9f5a86eaeb16c76f8b1f9cb940d2207759dd8d3.zip | |
bandwidthd: new package
[Thomas: minor reformatting like removing trailing whitespaces,
wrapping to a shorter length Config.in help texts, etc.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bandwidthd/bandwidthd.mk')
| -rw-r--r-- | package/bandwidthd/bandwidthd.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/bandwidthd/bandwidthd.mk b/package/bandwidthd/bandwidthd.mk new file mode 100644 index 0000000000..9b1eb32ee7 --- /dev/null +++ b/package/bandwidthd/bandwidthd.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# bandwidthd +# +################################################################################ + +BANDWIDTHD_VERSION = v2.0.1-auto-r07 +BANDWIDTHD_SITE = $(call github,nroach44,bandwidthd,$(BANDWIDTHD_VERSION)) + +# Specified as "any version of the GPL that is current as of your +# download" by upstream. +BANDWIDTHD_LICENSE = GPL + +BANDWIDTHD_DEPENDENCIES = gd libpng libpcap + +BANDWIDTHD_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_BANDWIDTHD_POSTGRESQL),y) +BANDWIDTHD_DEPENDENCIES += postgresql +BANDWIDTHD_CONF_OPT += --with-postgresql-logging=true +else +BANDWIDTHD_CONF_OPT += --with-postgresql-logging=false +endif + +ifeq ($(BR2_PACKAGE_BANDWIDTHD_SQLITE3),y) +BANDWIDTHD_DEPENDENCIES += sqlite +BANDWIDTHD_CONF_OPT += --with-sqlite-storage=true +else +BANDWIDTHD_CONF_OPT += --with-sqlite-storage=false +endif + +$(eval $(autotools-package)) |

