standardize Makefile
[openwrt.git] / package / robocfg / 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$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=robocfg
12 PKG_VERSION:=0.01
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/robocfg
20 SECTION:=base
21 TITLE:=BCM5325E/536x switch configuration utility
22 DESCRIPTION:=Broadcom BCM5325E/536x switch configuration utility
23 endef
24
25 define Build/Prepare
26 mkdir -p $(PKG_BUILD_DIR)
27 $(CP) ./src/* $(PKG_BUILD_DIR)/
28 endef
29
30 define Package/robocfg/install
31 install -d -m0755 $(1)/sbin
32 install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
33 endef
34
35 $(eval $(call BuildPackage,robocfg))
This page took 0.037668 seconds and 5 git commands to generate.