fix the route to the pptp server when using pptp as wan interface
[openwrt.git] / package / foxboard-utils / Makefile
index c2ff1d1..6cb997d 100644 (file)
@@ -24,22 +24,25 @@ define Package/foxboard-utils
   SECTION:=utils
   CATEGORY:=Base system
   TITLE:=Foxboard base tools
   SECTION:=utils
   CATEGORY:=Base system
   TITLE:=Foxboard base tools
-  DESCRIPTION:=\
-       This package contains a collection of tools for configuring the foxboard gpio pins/leds 
   URL:=http://www.acmesystems.it
   URL:=http://www.acmesystems.it
-  DEPENDS:=@LINUX_2_6_ETRAX
+  DEPENDS:=@TARGET_etrax
+endef
+
+define Package/foxboard-utils/description
+ This package contains a collection of tools for configuring the foxboard 
+ gpio pins/leds.
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) CFLAGS=$(TARTGET_CFLAGS) CC=$(TARGET_CC) 
+       $(MAKE) -C $(PKG_BUILD_DIR) CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)"
        $(MAKE) -C $(PKG_BUILD_DIR) PREFIX="$(PKG_INSTALL_DIR)" install
 endef
 
 define Package/foxboard-utils/install
        $(INSTALL_DIR) $(1)/
        $(CP) $(PKG_INSTALL_DIR)/* $(1)
        $(MAKE) -C $(PKG_BUILD_DIR) PREFIX="$(PKG_INSTALL_DIR)" install
 endef
 
 define Package/foxboard-utils/install
        $(INSTALL_DIR) $(1)/
        $(CP) $(PKG_INSTALL_DIR)/* $(1)
-       mkdir $(1)/www/cgi
-       cd $(1)/www/cgi; ln -s ../../bin/edit.cgi .
+       mkdir -p $(1)/www/cgi-bin
+       cd $(1)/www/cgi-bin; ln -s ../../bin/editcgi.cgi .
 endef
 
 $(eval $(call BuildPackage,foxboard-utils))
 endef
 
 $(eval $(call BuildPackage,foxboard-utils))
This page took 0.026892 seconds and 4 git commands to generate.