Root/package/br2684ctl/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
8include $(TOPDIR)/rules.mk
9include $(INCLUDE_DIR)/kernel.mk
10
11PKG_NAME:=br2684ctl
12PKG_VERSION:=20040226
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
16PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/b/br2684ctl
17PKG_MD5SUM:=6eb4d8cd174e24a7c078eb4f594f5b69
18
19PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
20PKG_BUILD_DEPENDS:=linux-atm
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/$(PKG_NAME)
25  SECTION:=net
26  CATEGORY:=Base system
27  TITLE:=ATM Ethernet bridging configuration utility
28  DEPENDS:=+linux-atm
29  URL:=http://ftp.debian.org/debian/pool/main/b/br2684ctl
30endef
31
32TARGET_CPPFLAGS += -I$(LINUX_DIR)/include
33MAKE_FLAGS += CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)"
34
35define Package/$(PKG_NAME)/install
36    $(INSTALL_DIR) $(1)/etc/init.d
37    $(INSTALL_BIN) ./files/br2684ctl $(1)/etc/init.d/
38    $(INSTALL_DIR) $(1)/usr/sbin
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
40endef
41
42$(eval $(call BuildPackage,$(PKG_NAME)))
43

Archive Download this file



interactive