init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[openwrt.git] / package / madwifi / Makefile
index 431e0a7..7d06fe1 100644 (file)
@@ -13,12 +13,13 @@ PKG_NAME:=madwifi
 PKG_VERSION:=0.9.2
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=a75baacbe07085ddc5cb28e1fb43edbb
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-madwifi
@@ -103,7 +104,7 @@ define Build/InstallDev
 endef
 
 define Build/UninstallDev
-       rm -rf $(STAGING_DIR)/usr/include/madwifi
+       rm -rf  $(STAGING_DIR)/usr/include/madwifi
 endef
 
 define Package/kmod-madwifi/install
@@ -119,7 +120,7 @@ endif
 ifeq ($(findstring PCI,$(BUS)),PCI)
        echo ath_pci >> $(1)/etc/modules.d/20-madwifi
 endif
-       install -m0755 ./files/madwifi.init $(1)/etc/init.d/S20madwifi
+       install -m0755 ./files/madwifi.init $(1)/etc/init.d/madwifi
        $(CP) \
                $(PKG_BUILD_DIR)/ath/ath_hal.$(LINUX_KMOD_SUFFIX) \
                $(BUS_MODULES) \
This page took 0.026442 seconds and 4 git commands to generate.