freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= bridge-utils
|
|---|
| 10 | PKG_VERSION:= 1.0.6
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 9b7dc52656f5cbec846a7ba3299f73bd
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= @SF/bridge
|
|---|
| 15 |
|
|---|
| 16 | include $(TOPDIR)/mk/package.mk
|
|---|
| 17 |
|
|---|
| 18 | $(eval $(call PKG_template,BRIDGE_UTILS,bridge-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 19 |
|
|---|
| 20 | $(WRKBUILD)/.configured:
|
|---|
| 21 | (cd $(WRKBUILD); rm -rf config.cache; \
|
|---|
| 22 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 23 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 24 | ./configure \
|
|---|
| 25 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 26 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 27 | --build=$(GNU_HOST_NAME) \
|
|---|
| 28 | --prefix=/usr \
|
|---|
| 29 | --exec-prefix=/usr \
|
|---|
| 30 | --bindir=/usr/bin \
|
|---|
| 31 | --sbindir=/usr/sbin \
|
|---|
| 32 | --libexecdir=/usr/lib \
|
|---|
| 33 | --sysconfdir=/etc \
|
|---|
| 34 | --datadir=/usr/share \
|
|---|
| 35 | --localstatedir=/var \
|
|---|
| 36 | --mandir=/usr/man \
|
|---|
| 37 | --infodir=/usr/info \
|
|---|
| 38 | --disable-nls \
|
|---|
| 39 | --with-linux-headers=$(LINUX_DIR) \
|
|---|
| 40 | );
|
|---|
| 41 | touch $@
|
|---|
| 42 |
|
|---|
| 43 | $(WRKBUILD)/.built:
|
|---|
| 44 | $(MAKE) -C $(WRKBUILD)
|
|---|
| 45 | touch $@
|
|---|
| 46 |
|
|---|
| 47 | $(IPKG_BRIDGE_UTILS):
|
|---|
| 48 | $(INSTALL_DIR) $(IDIR_BRIDGE_UTILS)/usr/sbin
|
|---|
| 49 | $(INSTALL_BIN) $(WRKBUILD)/brctl/brctl $(IDIR_BRIDGE_UTILS)/usr/sbin/
|
|---|
| 50 | $(RSTRIP) $(IDIR_BRIDGE_UTILS)
|
|---|
| 51 | $(IPKG_BUILD) $(IDIR_BRIDGE_UTILS) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.