+ PKG_SOURCE:=madwifi-$(PKG_VERSION).tar.gz
+ PKG_SOURCE_URL:=http://downloads.sourceforge.net/madwifi/
+ PKG_MD5SUM:=399d20de8d855a59f20058857c2178ad
+
+ PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/madwifi-$(PKG_VERSION)
+
+ PATCH_DIR=./patches-upstream
+else
+# PKG_BRANCH:=madwifi-dfs
+ PKG_REV:=$(if $(CONFIG_MADWIFI_TESTING),3776,3314)
+ PKG_VERSION:=r$(PKG_REV)
+ PKG_RELEASE:=1
+
+ PKG_SOURCE_PROTO:=svn
+ PKG_SOURCE_VERSION:=$(PKG_REV)
+ PKG_SOURCE_SUBDIR:=$(if $(PKG_BRANCH),$(PKG_BRANCH),madwifi-trunk)-$(PKG_VERSION)
+ PKG_SOURCE_URL:=http://svn.madwifi.org/madwifi/$(if $(PKG_BRANCH),branches/$(PKG_BRANCH),trunk)
+ PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
+
+ PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(if $(PKG_BRANCH),$(PKG_BRANCH),madwifi-trunk)-$(PKG_VERSION)
+
+ PATCH_DIR=$(if $(CONFIG_MADWIFI_TESTING),./patches-testing,./patches)
+endif