# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include $(TOPDIR)/rules.mk PKG_NAME:= bridge-utils PKG_VERSION:= 1.0.6 PKG_RELEASE:= 1 PKG_MD5SUM:= 9b7dc52656f5cbec846a7ba3299f73bd PKG_SOURCE_URL:= @SF/bridge include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,BRIDGE_UTILS,bridge-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(WRKBUILD)/.configured: (cd $(WRKBUILD); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ --datadir=/usr/share \ --localstatedir=/var \ --mandir=/usr/man \ --infodir=/usr/info \ --disable-nls \ --with-linux-headers=$(LINUX_DIR) \ ); touch $@ $(WRKBUILD)/.built: $(MAKE) -C $(WRKBUILD) touch $@ $(IPKG_BRIDGE_UTILS): $(INSTALL_DIR) $(IDIR_BRIDGE_UTILS)/usr/sbin $(INSTALL_BIN) $(WRKBUILD)/brctl/brctl $(IDIR_BRIDGE_UTILS)/usr/sbin/ $(RSTRIP) $(IDIR_BRIDGE_UTILS) $(IPKG_BUILD) $(IDIR_BRIDGE_UTILS) $(PACKAGE_DIR)