change module load priority (closes: #1804)
[openwrt.git] / package / foxboard-utils / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 7006 2007-04-19 12:06:39Z kaloz $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=foxboard-utils
12 PKG_VERSION:=1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=foxboard-utils.tar.bz2
16 PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt
17 PKG_MD5SUM:=
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/foxboard-utils
24 SECTION:=utils
25 CATEGORY:=Base system
26 TITLE:=Foxboard base tools
27 DESCRIPTION:=\
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
31 endef
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) CFLAGS=$(TARTGET_CFLAGS) CC=$(TARGET_CC)
35 $(MAKE) -C $(PKG_BUILD_DIR) PREFIX="$(PKG_INSTALL_DIR)" install
36 endef
37
38 define Package/foxboard-utils/install
39 $(INSTALL_DIR) $(1)/
40 $(CP) $(PKG_INSTALL_DIR)/* $(1)
41 mkdir -p $(1)/www/cgi-bin
42 cd $(1)/www/cgi-bin; ln -s ../../bin/editcgi.cgi .
43 endef
44
45 $(eval $(call BuildPackage,foxboard-utils))
This page took 0.039769 seconds and 5 git commands to generate.