fix typo
[openwrt.git] / package / admswconfig / Makefile
1 #
2 # Copyright (C) 2007 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:=admswconfig
12 PKG_VERSION:=0.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://sharon.esrac.ele.tue.nl/users/pe1rxq/linux-adm/admswconfig/
17 PKG_MD5SUM:=3d00efbff699af8a4d3179becd881b1e
18
19 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/admswconfig
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=ADM5120 Switch configuration tool
27 DEPENDS:=@LINUX_2_6_ADM5120||@LINUX_2_6_ADM5120EB
28 DESCRIPTION:=\
29 A program to configure the internal ethernet switch of an ADM5120 processor. \\\
30 You need the corresponding driver for the switch in the kernel. \\\
31 with this program you can configure which ports of the switch belong \\\
32 to the different ethernet devices.
33 URL:=http://sharon.esrac.ele.tue.nl/users/pe1rxq/linux-adm/admswconfig/
34 endef
35
36 define Build/Configure
37 endef
38
39 define Build/Compile
40 $(TARGET_CC) $(TARGET_CFLAGS) -Os $(PKG_BUILD_DIR)/admswconfig.c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
41 endef
42
43 define Package/admswconfig/install
44 $(INSTALL_DIR) $(1)/sbin
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/admswconfig $(1)/sbin/
46 endef
47
48 $(eval $(call BuildPackage,admswconfig))
This page took 0.0756 seconds and 5 git commands to generate.