Changeset 36


Ignore:
Timestamp:
2004-05-26T03:09:18+02:00 (13 years ago)
Author:
mbm
Message:

add USE_* variables to the makefiles

Location:
trunk/obsolete-buildroot/make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/obsolete-buildroot/make/bridge.mk

    r30 r36  
    44# 
    55############################################################# 
    6 # 
    7 BRIDGE_SOURCE_URL=http://bridge.sourceforge.net/bridge-utils 
    8 BRIDGE_SOURCE=bridge-utils-0.9.6.tar.gz 
    9 BRIDGE_BUILD_DIR=$(BUILD_DIR)/bridge-utils-0.9.6 
     6 
     7ifeq ($(strip $(USE_BRIDGE_VERSION)),) 
     8USE_BRIDGE_VERSION=0.9.7 
     9endif 
     10BRIDGE_SOURCE_URL=http://dl.sourceforge.net/sourceforge/bridge/ 
     11BRIDGE_SOURCE=bridge-utils-$(USE_BRIDGE_VERSION).tgz 
     12BRIDGE_BUILD_DIR=$(BUILD_DIR)/bridge-utils-$(USE_BRIDGE_VERSION) 
    1013BRIDGE_TARGET_BINARY:=usr/sbin/brctl 
    1114 
     
    1417 
    1518$(BRIDGE_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BRIDGE_SOURCE) 
    16         zcat $(DL_DIR)/$(BRIDGE_SOURCE) | tar -C $(BUILD_DIR) -xvf - 
    17         mv -f $(BUILD_DIR)/bridge-utils $(BRIDGE_BUILD_DIR) 
     19        # ack! it's a .tgz which is really a bzip  
     20        bzcat $(DL_DIR)/$(BRIDGE_SOURCE) | tar -C $(BUILD_DIR) -xvf - 
    1821        patch -p1 -d $(BRIDGE_BUILD_DIR) < $(SOURCE_DIR)/bridge.patch  
    1922        touch $(BRIDGE_BUILD_DIR)/.unpacked 
  • trunk/obsolete-buildroot/make/netfilter.mk

    r30 r36  
    55############################################################# 
    66 
    7 NETFILTER_SNAPSHOT:=20040508 
    8 NETFILTER_SOURCE:=patch-o-matic-$(NETFILTER_SNAPSHOT).tar.bz2 
    9 NETFILTER_SITE:=ftp://ftp.netfilter.org/pub/patch-o-matic/snapshot/ 
    10 NETFILTER_DIR:=$(BUILD_DIR)/patch-o-matic-$(NETFILTER_SNAPSHOT) 
     7ifeq ($(strip $(USE_NETFILTER_SNAPSHOT)),) 
     8USE_NETFILTER_SNAPSHOT=20040508 
     9endif 
     10NETFILTER_SOURCE:=patch-o-matic-$(USE_NETFILTER_SNAPSHOT).tar.bz2 
     11NETFILTER_DIR:=$(BUILD_DIR)/patch-o-matic-$(USE_NETFILTER_SNAPSHOT) 
     12NETFILTER_SITE:=ftp://ftp.netfilter.org/pub/patch-o-matic/snapshot 
    1113NETFILTER_CAT:=bzcat 
    1214 
     
    2830 
    2931$(DL_DIR)/$(NETFILTER_SOURCE): 
    30          $(WGET) -P $(DL_DIR) $(NETFILTER_SITE)/$(NETFILTER_SOURCE) 
     32         echo $(WGET) -P $(DL_DIR) $(NETFILTER_SITE)/$(NETFILTER_SOURCE) 
    3133 
    3234netfilter-source: $(DL_DIR)/$(NETFILTER_SOURCE) 
Note: See TracChangeset for help on using the changeset viewer.