source: trunk/package/br2684ctl/Makefile @ 15242

Last change on this file since 15242 was 15242, checked in by nbd, 7 years ago

get rid of $Id$ - it has never helped us and it has broken too many patches ;)

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