Makefile 1.0 KB

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