packages: fixed darkstat compile and cleaned whitespace

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9786 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
agb 2007-12-17 10:21:16 +00:00
parent bac0701e34
commit 537097ed64

View File

@ -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