2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 6582 2007-03-16 20:21:39Z nbd $
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
16 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/b
/br2684ctl
17 PKG_MD5SUM
:=6eb4d8cd174e24a7c078eb4f594f5b69
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
).orig
20 PKG_BUILD_DEPENDS
:=linux-atm
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/$(PKG_NAME
)
27 TITLE
:=ATM Ethernet bridging configuration utility
29 URL
:=http
://ftp.debian.org
/debian
/pool
/main
/b
/br2684ctl
32 MAKE_FLAGS
+= CFLAGS
="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)"
34 define Package
/$(PKG_NAME
)/install
35 $(INSTALL_DIR
) $(1)/etc
/init.d
36 $(INSTALL_BIN
) .
/files
/br2684ctl
$(1)/etc
/init.d
/
37 $(INSTALL_DIR
) $(1)/usr
/sbin
38 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
41 $(eval
$(call BuildPackage
,$(PKG_NAME
)))