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.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=foxboard-utils
14 PKG_SOURCE
:=foxboard-utils.
tar.bz2
15 PKG_SOURCE_URL
:=http
://www.acmesystems.it
/download
/owrt
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/foxboard-utils
25 TITLE
:=Foxboard base tools
26 URL
:=http
://www.acmesystems.it
27 DEPENDS
:=@TARGET_etrax
30 define Package
/foxboard-utils
/description
31 This package contains a collection of tools for configuring the foxboard
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) CFLAGS
="$(TARGET_CFLAGS)" CC
="$(TARGET_CC)"
37 $(MAKE
) -C
$(PKG_BUILD_DIR
) PREFIX
="$(PKG_INSTALL_DIR)" install
40 define Package
/foxboard-utils
/install
42 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)
43 mkdir
-p
$(1)/www
/cgi-bin
44 cd
$(1)/www
/cgi-bin
; ln
-s ..
/..
/bin
/editcgi.cgi .
47 $(eval
$(call BuildPackage
,foxboard-utils
))