• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/bandwidthd/bandwidthd.mk
Nathaniel RoachNathaniel Roach committed f1b07c06fa411 Jan 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# bandwidthd
4
#
5
################################################################################
6
​
7
BANDWIDTHD_VERSION = v2.0.1-auto-r11
8
BANDWIDTHD_SITE = $(call github,nroach44,bandwidthd,$(BANDWIDTHD_VERSION))
9
​
10
# Specified as "any version of the GPL that is current as of your
11
# download" by upstream.
12
BANDWIDTHD_LICENSE = GPL
13
​
14
BANDWIDTHD_DEPENDENCIES = gd libpng libpcap host-pkgconf
15
​
16
BANDWIDTHD_AUTORECONF = YES
17
​
18
BANDWIDTHD_CONF_OPTS += --with-pcap-config=$(STAGING_DIR)/usr/bin/pcap-config
19
​
20
ifeq ($(BR2_PACKAGE_BANDWIDTHD_POSTGRESQL),y)
21
BANDWIDTHD_DEPENDENCIES += postgresql
22
BANDWIDTHD_CONF_OPTS += --with-postgresql-logging=true
23
else
24
BANDWIDTHD_CONF_OPTS += --with-postgresql-logging=false
25
endif
26
​
27
ifeq ($(BR2_PACKAGE_BANDWIDTHD_SQLITE3),y)
28
BANDWIDTHD_DEPENDENCIES += sqlite
29
BANDWIDTHD_CONF_OPTS += --with-sqlite-storage=true
30
else
31
BANDWIDTHD_CONF_OPTS += --with-sqlite-storage=false
32
endif
33
​
34
define BANDWIDTHD_INSTALL_INIT_SYSTEMD
35
    $(INSTALL) -D -m 644 package/bandwidthd/bandwidthd.service \
36
        $(TARGET_DIR)/usr/lib/systemd/system/bandwidthd.service
37
​
38
    mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
39
​
40
    ln -sf /usr/lib/systemd/system/bandwidthd.service \
41
        $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/bandwidthd.service
42
endef
43
​
44
$(eval $(autotools-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.