From: Andy Boyett Date: Mon, 17 Dec 2007 10:21:16 +0000 (+0000) Subject: packages: fixed darkstat compile and cleaned whitespace X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0a843ae5062966a4a01d4c6beb990da6b80e6ef3;p=openwrt%2Fsvn-archive%2Fpackages.git packages: fixed darkstat compile and cleaned whitespace SVN-Revision: 9786 --- diff --git a/net/darkstat/Makefile b/net/darkstat/Makefile index f9ed8b03c..ce6323359 100644 --- a/net/darkstat/Makefile +++ b/net/darkstat/Makefile @@ -33,7 +33,10 @@ define Package/darkstat/description A free open source utility for bandwith monitoring \ over web endef -define Build/Compile +CONFIGURE_ARGS += \ + --with-chroot-dir /var/empty + +define Build/Compile mkdir -p $(PKG_INSTALL_DIR) $(HOSTCC) $(PKG_BUILD_DIR)/static/c-ify.c \ -o $(PKG_BUILD_DIR)/c-ify @@ -42,7 +45,7 @@ define Build/Compile all install endef -define Package/darkstat/install +define Package/darkstat/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/darkstat $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/etc/init.d