summaryrefslogtreecommitdiff
path: root/package/pmacct
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-19 22:53:46 +0059
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 10:35:02 +0100
commit1c8d49e1ee453e44af6c57f10e8b929d5ccdd3a2 (patch)
treead61904908c100a16ef60192fbe0676a79a2d877 /package/pmacct
parent72ea86f8f4d9a00ca5f509eba515b38968924172 (diff)
create package/Depends.mk dynamically; add PKG_BUILDDEP to all Makefiles
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'package/pmacct')
-rw-r--r--package/pmacct/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/pmacct/Makefile b/package/pmacct/Makefile
index c57e9008a..ac7aa9249 100644
--- a/package/pmacct/Makefile
+++ b/package/pmacct/Makefile
@@ -6,6 +6,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= pmacct
PKG_VERSION:= 0.11.6
PKG_RELEASE:= 1
+PKG_BUILDDEP+= libpcap
+ifneq ($(ADK_COMPILE_PMACCT_MYSQL),)
+PKG_BUILDDEP+= mysql
+endif
+ifneq ($(ADK_COMPILE_PMACCT_PGSQL),)
+PKG_BUILDDEP+= postgresql
+endif
+ifneq ($(ADK_COMPILE_PMACCT_SQLITE),)
+PKG_BUILDDEP+= sqlite
+endif
PKG_MD5SUM:= e0f3bcba9a73b7a70bbf5a303cd22f77
PKG_DESCR:= IP accounting daemons
PKG_SECTION:= net