2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 7006 2007-04-19 12:06:39Z kaloz $
9 include $(TOPDIR)/rules.mk
11 PKG_NAME:=foxboard-utils
15 PKG_SOURCE:=foxboard-utils.tar.bz2
16 PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
21 include $(INCLUDE_DIR)/package.mk
23 define Package/foxboard-utils
26 TITLE:=Foxboard base tools
27 URL:=http://www.acmesystems.it
28 DEPENDS:=@TARGET_etrax
31 define Package/foxboard-utils/description
32 This package contains a collection of tools for configuring the foxboard
37 $(MAKE) -C $(PKG_BUILD_DIR) CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)"
38 $(MAKE) -C $(PKG_BUILD_DIR) PREFIX="$(PKG_INSTALL_DIR)" install
41 define Package/foxboard-utils/install
43 $(CP) $(PKG_INSTALL_DIR)/* $(1)
44 mkdir -p $(1)/www/cgi-bin
45 cd $(1)/www/cgi-bin; ln -s ../../bin/editcgi.cgi .
48 $(eval $(call BuildPackage,foxboard-utils))