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
28 This package contains a collection of tools for configuring the foxboard gpio pins
/leds
29 URL
:=http
://www.acmesystems.it
30 DEPENDS
:=@LINUX_2_6_ETRAX
34 $(MAKE
) -C
$(PKG_BUILD_DIR
) CFLAGS
=$(TARTGET_CFLAGS
) CC
=$(TARGET_CC
)
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) PREFIX
="$(PKG_INSTALL_DIR)" install
38 define Package
/foxboard-utils
/install
40 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)
42 cd
$(1)/www
/cgi
; ln
-s ..
/..
/bin
/edit.cgi .
45 $(eval
$(call BuildPackage
,foxboard-utils
))