new (last?) attempt at standardizing Makefiles
authorNicolas Thill <nico@openwrt.org>
Sun, 24 Sep 2006 20:49:31 +0000 (20:49 +0000)
committerNicolas Thill <nico@openwrt.org>
Sun, 24 Sep 2006 20:49:31 +0000 (20:49 +0000)
SVN-Revision: 4855

51 files changed:
openwrt/package/alsa/Makefile
openwrt/package/arptables/Makefile
openwrt/package/base-files/Makefile
openwrt/package/bridge/Makefile
openwrt/package/broadcom-wl/Makefile
openwrt/package/busybox/Makefile
openwrt/package/dnsmasq/Makefile
openwrt/package/dropbear/Makefile
openwrt/package/ebtables/Makefile
openwrt/package/fuse/Makefile
openwrt/package/gmp/Makefile
openwrt/package/haserl/Makefile
openwrt/package/hostap-utils/Makefile
openwrt/package/hostap/Makefile
openwrt/package/hostapd/Makefile
openwrt/package/iproute2/Makefile
openwrt/package/ipsec-tools/Makefile
openwrt/package/ipset/Makefile
openwrt/package/iptables/Makefile
openwrt/package/isakmpd/Makefile
openwrt/package/kernel/Makefile
openwrt/package/kernel/modules.mk
openwrt/package/keynote/Makefile
openwrt/package/libpcap/Makefile
openwrt/package/linux-atm/Makefile
openwrt/package/madwifi/Makefile
openwrt/package/mini_fo/Makefile
openwrt/package/openssl/Makefile
openwrt/package/openswan/Makefile
openwrt/package/pcmcia-cs/Makefile
openwrt/package/ppp/Makefile
openwrt/package/pptp/Makefile
openwrt/package/shfs/Makefile
openwrt/package/spca5xx/Makefile
openwrt/package/udev/Makefile
openwrt/package/ueagle-atm/Makefile
openwrt/package/util-linux/Makefile
openwrt/package/wireless-tools/Makefile
openwrt/package/yamonenv/Makefile
openwrt/package/zd1211/Makefile
openwrt/package/zlib/Makefile
openwrt/toolchain/ext2fs/Makefile
openwrt/toolchain/ipkg-utils/Makefile
openwrt/toolchain/jffs2/Makefile
openwrt/toolchain/kernel-headers/Makefile
openwrt/toolchain/libnotimpl/Makefile
openwrt/toolchain/lzma/Makefile
openwrt/toolchain/mkimage/Makefile
openwrt/toolchain/sed/Makefile
openwrt/toolchain/squashfs/Makefile
openwrt/toolchain/sstrip/Makefile

index ebfb6f872e01409990c002fc2e50649ff2750459..d82d87adad08f2238b829076e77f27e67958307a 100644 (file)
@@ -13,12 +13,13 @@ PKG_NAME:=alsa-driver
 PKG_VERSION:=1.0.11
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/driver/
 PKG_MD5SUM:=57534e4297cd683371402220e3753885
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-alsa
index c0c898baedb0251a2f5c5543bccedad7c8538c4f..0518e8ea36e201534697e848f28e6e86264ead63 100644 (file)
@@ -11,12 +11,13 @@ PKG_NAME:=arptables
 PKG_VERSION:=0.0.3
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/ebtables
 PKG_MD5SUM:=1672244603c8979577aa4738be35a759
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/arptables
index d6e62b5ae5b26d9d138982924fd3f4e94b8cb09a..1e234c65a370c5064afcea59c4a9e248e8853dfb 100644 (file)
@@ -11,22 +11,23 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=base-files
 PKG_RELEASE:=8
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/base-files
+
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
 
 REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' )
 ifeq ($(REV),)
-REV:=0
+  REV:=0
 endif
 
 include $(INCLUDE_DIR)/package.mk
 
 ifneq ($(DUMP),1)
-TARGET:=-$(BOARD)-$(KERNEL)
-UCLIBC_VERSION:=${shell cat $(STAGING_DIR)/uclibc_version 2>/dev/null}
-LIBGCC_VERSION:=${shell cat $(STAGING_DIR)/gcc_version 2>/dev/null}
+  TARGET:=-$(BOARD)-$(KERNEL)
+  UCLIBC_VERSION:=${shell cat $(STAGING_DIR)/uclibc_version 2>/dev/null}
+  LIBGCC_VERSION:=${shell cat $(STAGING_DIR)/gcc_version 2>/dev/null}
 else
-UCLIBC_VERSION:=<UCLIBC_VERSION>
-LIBGCC_VERSION:=<LIBGCC_VERSION>
+  UCLIBC_VERSION:=<UCLIBC_VERSION>
+  LIBGCC_VERSION:=<LIBGCC_VERSION>
 endif
 
 CONFIG_PACKAGE_base-files$(TARGET):=$(CONFIG_PACKAGE_base-files)
@@ -35,8 +36,10 @@ define Package/base-files$(TARGET)
   SECTION:=base
   CATEGORY:=Base system
   DEFAULT:=y
-  TITLE:=OpenWrt system scripts
-  DESCRIPTION:=Base filesystem for OpenWrt
+  TITLE:=Base filesystem for OpenWrt
+  DESCRIPTION:=\
+       This package contains a base filesystem and system scripts for OpenWrt.
+  URL:=http://openwrt.org/
   VERSION:=$(PKG_RELEASE)-$(REV)
 endef
 
@@ -68,7 +71,6 @@ define -xscale-2.6/conffiles
 /etc/config/network
 endef
 
-
 define Package/base-files$(TARGET)/conffiles
 /etc/banner
 /etc/hosts
@@ -84,37 +86,37 @@ endef
 
 define Package/libgcc
   SECTION:=libs
-  CATEGORY:=Libraries
+  CATEGORY:=Base system
   DEFAULT:=y
   DEPENDS:=@!NATIVE_TOOLCHAIN
   TITLE:=GCC support library
+  URL:=http://gcc.gnu.org/
   VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
-  DESCRIPTION:=$(TITLE)
 endef
 
 define Package/libpthread
-  $(call Package/base-files$(TARGET))
-  DEFAULT:=n
+  SECTION:=libs
+  CATEGORY:=Libraries
   DEPENDS:=@!NATIVE_TOOLCHAIN
-  VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
   TITLE:=POSIX thread library
-  DESCRIPTION:=POSIX thread library
+  URL:=http://uclibc.org/
+  VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
 endef
 
-
 define Package/uclibc
-  $(call Package/base-files$(TARGET))
-  VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
+  SECTION:=libs
+  CATEGORY:=Base system
+  DEFAULT:=y
   DEPENDS:=@!NATIVE_TOOLCHAIN
-  TITLE:=C library
-  DESCRIPTION:=C library for embedded systems
+  TITLE:=C library embedded systems
+  URL:=http://uclibc.org/
+  VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
 endef
 
 define Build/Prepare
        mkdir -p $(PKG_BUILD_DIR)
 endef
 
-
 define Build/Compile/ar7
        $(TARGET_CC) -o $(PKG_BUILD_DIR)/adam2patcher src/adam2patcher.c
 endef
@@ -132,6 +134,7 @@ define Package/base-files$(TARGET)/install-ar7
        mkdir -p $(1)/sbin
        $(CP) $(PKG_BUILD_DIR)/adam2patcher $(1)/sbin
 endef
+
 define Package/base-files$(TARGET)/install-brcm
        rm -f $(1)/etc/config/network
        mkdir -p $(1)/sbin
index 6c08dc24d0a49d4421994893e956eebb83a9bdea..c186c8e701c174452e9ecbd98fbcbd617dcbc9a6 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=bridge
 PKG_VERSION:=1.0.6
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
 PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/bridge
 PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/bridge
index ce447a4ac272c8fcb8e0476cc4d909a68cfc9ed8..3ef4bcf0819a059bb9de81789b4c0104809b7d98 100644 (file)
@@ -14,68 +14,83 @@ PKG_VERSION:=4.80.17.0
 PKG_RELEASE:=1
 WLC_VERSION:=0.1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
 PKG_MD5SUM:=3183ddb60e3e882b41df1776c89b614c
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
-define Package/kmod-brcm-wl
-  SECTION:=drivers
-  CATEGORY:=Drivers
-  DEPENDS:=@LINUX_2_4_BRCM
-  DEFAULT:=y
+define Package/broadcom-wl/Default
+  SECTION:=net
+  CATEGORY:=Kernel drivers
+  DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mimo
   SUBMENU:=Proprietary BCM43xx WiFi driver
   SUBMENUDEP:=@LINUX_2_4_BRCM
-  TITLE:=Kernel driver (normal version)
-  DESCRIPTION:=Proprietary Wireless driver for the Broadcom BCM43xx chipset
+endef
+
+define Package/kmod-brcm-wl/Default
+  $(call Package/broadcom-wl/Default)
+  SECTION:=kernel
+  DEPENDS:=@LINUX_2_4_BRCM
+  TITLE:=Kernel driver for BCM43xx chipsets
+  DESCRIPTION:=\
+       This package contains the proprietary wireless driver for the Broadcom \\\
+       BCM43xx chipset
   VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(PKG_RELEASE)
 endef
 
+define Package/kmod-brcm-wl
+  $(call Package/kmod-brcm-wl/Default)
+  DEFAULT:=y
+  TITLE+= (normal version)
+  DESCRIPTION+= (normal version).
+endef
+
 define Package/kmod-brcm-wl-mimo
-  $(call Package/kmod-brcm-wl)
-  DEFAULT:=m if ALL
-  TITLE:=Kernel driver (MIMO version)
-  DESCRIPTION:=Proprietary Wireless driver for the Broadcom BCM43xx chipset (MIMO version)
+  $(call Package/kmod-brcm-wl/Default)
+  TITLE+= (MIMO version)
+  DESCRIPTION+= (MIMO version).
 endef
 
 define Package/wlc
-  $(call Package/kmod-brcm-wl-mimo)
+  $(call Package/broadcom-wl/Default)
   DEFAULT:=y
-  DEPENDS:=kmod-brcm-wl
-  TITLE:=Setup utility
-  DESCRIPTION:=Utility for initializing the Broadcom wl driver
-  VERSION:=$(WLC_VERSION)-$(PKG_RELEASE)
+  TITLE:=Proprietary Broadcom wl driver setup utility
+  DESCRIPTION:=\
+       This package contains an utility for initializing the proprietary Broadcom \\\
+       wl driver.
 endef
 
 define Package/wl
-  $(call Package/wlc)
-  TITLE:=Utility for changing the driver's parameters
-  DESCRIPTION:=Utility for changing the Broadcom wl driver's parameters
-  VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
+  $(call Package/broadcom-wl/Default)
+  TITLE:=Proprietary Broadcom wl driver config utility
+  DESCRIPTION:=\
+       This package contains the proprietary utility (wl) for configuring the \\\
+       proprietary Broadcom wl driver.
 endef
 
 define Package/nas
-  $(call Package/wl)
-  DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mimo +nvram
-  DEFAULT:=m
-  TITLE:=Proprietary WPA/WPA2 authenticator
-  DESCRIPTION:=Proprietary WPA/WPA2 authenticator for the Broadcom wl driver
-endef
-
-define Build/Prepare
-  $(call Build/Prepare/Default)
-       $(CP) src/* $(PKG_BUILD_DIR)/
+  $(call Package/broadcom-wl/Default)
+  DEPENDS+= +nvram
+  TITLE:=Proprietary Broadcom WPA/WPA2 authenticator
+  DESCRIPTION:=\
+       This package contains the proprietary WPA/WPA2 authenticator (nas) for the \\\
+       proprietary Broadcom wl driver.
 endef
 
-MAKEFLAGS_KMOD = -C "$(LINUX_DIR)" \
+MAKEFLAGS_KMOD:= -C "$(LINUX_DIR)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
                ARCH="$(LINUX_KARCH)" \
                PATH="$(TARGET_PATH)" \
                SUBDIRS="$(PKG_BUILD_DIR)/kmod"
 
+define Build/Prepare
+       $(call Build/Prepare/Default)
+       $(CP) src/* $(PKG_BUILD_DIR)/
+endef
 
 define Build/Compile
        # Compile the kernel part
index 6e9cf4194a42db696fcf06707d8d79dc730c6c7e..9e30492e9062b51134dcd0eb7df78f5f1c29e2ff 100644 (file)
@@ -12,24 +12,26 @@ PKG_NAME:=busybox
 PKG_VERSION:=1.2.1
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.busybox.net/downloads
 PKG_MD5SUM:=362b3dc0f2023ddfda901dc1f1a74391
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/busybox
-SECTION:=base
-CATEGORY:=Base system
-MENU:=1
-DEFAULT:=y
-TITLE:=Core utilities for embedded Linux
-DESCRIPTION:=The Swiss Army Knife of embedded Linux. \\\
-It slices, it dices, it makes Julian Fries.
-URL:=http://busybox.net/
-CONFIG:=\\\
+  SECTION:=base
+  CATEGORY:=Base system
+  DEFAULT:=y
+  TITLE:=Core utilities for embedded Linux
+  DESCRIPTION:=\
+       The Swiss Army Knife of embedded Linux. \\\
+       It slices, it dices, it makes Julian Fries.
+  URL:=http://busybox.net/
+  MENU:=1
+  CONFIG:=\\\
        menu "Configuration" \\\
                depends on PACKAGE_busybox \\\
                source "$(SOURCE)/config/Config.in" \\\
@@ -38,13 +40,19 @@ endef
 
 define Build/Configure
        $(SCRIPT_DIR)/gen_busybox_config.pl $(TOPDIR)/.config > $(PKG_BUILD_DIR)/.config
-       yes '' | $(MAKE) CC="$(TARGET_CC)" CROSS="$(TARGET_CROSS)" \
-       -C $(PKG_BUILD_DIR) oldconfig
+       yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
+               CC="$(TARGET_CC)" \
+               CROSS="$(TARGET_CROSS)" \
+               oldconfig
 endef
 
 define Package/busybox/install
-       $(MAKE) CC="$(TARGET_CC)" CROSS="$(TARGET_CROSS)" \
-       PREFIX="$(1)" EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) install
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               CC="$(TARGET_CC)" \
+               CROSS="$(TARGET_CROSS)" \
+               EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
+               PREFIX="$(1)" \
+               install
        -rm -rf $(1)/lib64
 endef
 
index 3dc22a3a02060d916bcb7a08079732eb7509cd76..6283fdc898c6b63d4bbc6bdf474b0d63fd7d74a0 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=dnsmasq
 PKG_VERSION:=2.33
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
 PKG_MD5SUM:=45696461b6e6bc929273b1191ca50447
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/dnsmasq
index 73cc10ef8e642015f49775df7806f3bfd2b13034..b28b44ef9e6ee2306799985b29408ab92efbb18c 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=dropbear
 PKG_VERSION:=0.48.1
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/
 PKG_MD5SUM:=ca8e53a766faec831882831364568421
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/dropbear/Default
index 4d5c99ff84903ea084157d89b95808c9d65c3789..a0e53a48d37d6f12959103d223c46ec161d452d4 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=ebtables
 PKG_VERSION:=2.0.8-rc2
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/ebtables
 PKG_MD5SUM:=f07111fcc1966be669278433c35dcc28
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/ebtables
index 422499d77da4d7bf03590548fa11a2002bfbc567..8c6b2ce56470e2803fb12dc3aa5645653dbc9107 100644 (file)
@@ -13,12 +13,12 @@ PKG_NAME:=fuse
 PKG_VERSION:=2.5.3
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -123,8 +123,7 @@ define Build/InstallDev
 endef
        
 define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/fuse{,.h} \
+       rm -rf  $(STAGING_DIR)/usr/include/fuse{,.h} \
                $(STAGING_DIR)/usr/lib/libfuse.{a,so*} \
                $(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc
 endef
index cc13af35496f9d77ec88280246eef7366258f96a..43afab3c74d7c3ea4dbb0d4cf8d7fbde1a9199da 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=gmp
 PKG_VERSION:=4.1.4
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@GNU/gmp
 PKG_MD5SUM:=0aa7d3b3f5b5ec5951e7dddd6f65e891
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -51,8 +51,7 @@ define Build/InstallDev
 endef
 
 define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/gmp* \
+       rm -rf  $(STAGING_DIR)/usr/include/gmp* \
                $(STAGING_DIR)/usr/lib/libgmp.{a,so*}
 endef
 
index eeba09b672ecb889a3f30736cc9f66acce7ccccd..83a7d848f85e87d7e8d2f4341607ff6652a9b555 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=haserl
 PKG_VERSION:=0.8.0
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/haserl
 PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/haserl
index b794ad0d1efd7a17e9cdf671cdfc70b1dcfb4a13..ad142f33d26177eb7a7e512bbfa83b6784d0a39d 100644 (file)
@@ -11,12 +11,13 @@ PKG_NAME:=hostap-utils
 PKG_VERSION:=0.4.7
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
 PKG_MD5SUM:=afe041581b8f01666e353bec20917c85
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/hostap-utils
index 90281fe6b592682352663d2d2cde209ffa541e16..82e7475a0e7699cde07145f63c7e32ad4c87264c 100644 (file)
@@ -12,30 +12,24 @@ include $(INCLUDE_DIR)/kernel.mk
 PKG_NAME:=hostap-driver
 PKG_VERSION:=0.4.9
 PKG_RELEASE:=1
-PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
+PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/kmod-hostap
-  SECTION:=drivers
-  CATEGORY:=Drivers
-  DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT
-  TITLE:=Host AP support for Prism2/2.5/3 IEEE 802.11b
-  DESCRIPTION:=Host AP support for Prism2/2.5/3 IEEE 802.11b \\\
-    A driver for 802.11b wireless cards based on Intersil Prism2/2.5/3 \\\
-    chipset. This driver supports so called Host AP mode that allows the card \\\
-    to act as an IEEE 802.11 access point. \\\
-    \\\
-    This option includes the base Host AP driver code that is shared by \\\
-    different hardware models. You will also need to enable support for \\\
-    PLX/PCI/CS version of the driver to actually use the driver. \\\
+define Package/kmod-hostap/Default
+  SECTION:=kernel
+  CATEGORY:=Kernel drivers
+  DESCRIPTION:=\
+       Host AP is a driver for 802.11b wireless cards based on Intersil \\\
+       Prism2/2.5/3 chipset. It supports so called Host AP mode that allows the \\\
+       card to act as an IEEE 802.11 access point.
   URL:=http://hostap.epitest.fi/
   ifeq ($(KERNEL),2.6)
     VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
@@ -44,18 +38,34 @@ define Package/kmod-hostap
   endif
 endef
 
+define Package/kmod-hostap
+  $(call Package/kmod-hostap/Default)
+  DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT
+  TITLE:=Host AP support for Prism2/2.5/3
+  DESCRIPTION+=\\\
+       \\\
+       This package contains the base Host AP driver code that is shared by \\\
+       different hardware models. You will also need to enable support for \\\
+       PLX/PCI/CS version of the driver to actually use the driver.
+endef
+
 define Package/kmod-hostap-pci
-$(call Package/kmod-hostap)
-DEPENDS:=kmod-hostap
-TITLE:=Host AP driver for Prism2.5 PCI adaptors
-DESCRIPTION:=Host AP driver for Prism2.5 PCI adaptors
+  $(call Package/kmod-hostap/Default)
+  DEPENDS:=kmod-hostap
+  TITLE:=Host AP driver for PCI adaptors
+  DESCRIPTION+=\\\
+       \\\
+       This package contains the Host AP driver for Prism2.5 PCI adaptors.
 endef
 
 define Package/kmod-hostap-plx
-$(call Package/kmod-hostap)
-DEPENDS:=kmod-hostap
-TITLE:=Host AP driver for Prism2/2.5/3 in PLX9052 based PCI adaptors
-DESCRIPTION:=Host AP driver for Prism2/2.5/3 in PLX9052 based PCI adaptors
+  $(call Package/kmod-hostap/Default)
+  DEPENDS:=kmod-hostap
+  TITLE:=Host AP driver for PLX9052 based PCI adaptors
+  DESCRIPTION+=\\\
+       \\\
+       This package contains the Host AP driver for Prism2/2.5/3 in PLX9052 \\\
+       based PCI adaptors.
 endef
 
 ifeq ($(KERNEL),2.4)
index a1161e11fe82810eca01a605d4b0cff8fb580532..ba16193dafad46767c6af778155c0dee62fb6d43 100644 (file)
@@ -11,24 +11,32 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=hostapd
 PKG_VERSION:=0.5.3
 PKG_RELEASE:=1
-PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb
-PKG_BUILDDEP:=madwifi
 
-PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
+PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 
+PKG_BUILDDEP:=madwifi
+
 include $(INCLUDE_DIR)/package.mk
 
+define Package/hostapd/Default
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=IEEE 802.1x Authenticator
+  URL:=http://hostap.epitest.fi/
+endef
+
 define Package/hostapd
-SECTION:=net
-CATEGORY:=Network
-DEPENDS:=+libopenssl
-TITLE:=IEEE 802.1x Authenticator
-DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator
-URL:=http://hostap.epitest.fi/
+  $(call Package/hostapd/Default)
+  DEPENDS:=+libopenssl
+  TITLE+= (full)
+  DESCRIPTION:=\
+       This package contains a full featured IEEE 802.1x/WPA/EAP/RADIUS \\\
+       Authenticator.
 endef
 
 define Package/hostapd/conffiles
@@ -36,10 +44,11 @@ define Package/hostapd/conffiles
 endef
 
 define Package/hostapd-mini
-$(call Package/hostapd)
-TITLE:=IEEE 802.1x Authenticator (WPA-PSK only)
-DEPENDS:=
-DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (WPA-PSK only)
+  $(call Package/hostapd/Default)
+  TITLE+= (WPA-PSK only)
+  DESCRIPTION:=\
+       This package contains a minimal IEEE 802.1x/WPA/EAP/RADIUS Authenticator \\\
+       (WPA-PSK only).
 endef
 
 define Package/hostapd-mini/conffiles
@@ -47,10 +56,12 @@ define Package/hostapd-mini/conffiles
 endef
 
 define Package/hostapd-utils
-$(call Package/hostapd)
-DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini
-TITLE:=IEEE 802.1x Authenticator (utils)
-DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (command line utils)
+  $(call Package/hostapd/Default)
+  DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini
+  TITLE+= (utils)
+  DESCRIPTION:=\
+       This package contains a command line utility to control the \\\
+       IEEE 802.1x/WPA/EAP/RADIUS Authenticator.
 endef
 
 define Build/ConfigureTarget
index 5e51b9607d4163c78461b032ca581b731b44fdab..01097c88b9fe06aadff4cc3850cc3e5159f7e582 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=iproute2
 PKG_VERSION:=2.6.15-060110
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/iproute2-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://developer.osdl.org/dev/iproute2/download/
 PKG_MD5SUM:=04f57a6d366d36426d276178b600f5c5
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/iproute2-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/iproute2/Default
index d45a40e042118bb39669498cccd2ebc2cc0c90e9..2ae6b27eb5918c692a7e4bd5d9f300210c7461b6 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=ipsec-tools
 PKG_VERSION:=0.6.4
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/ipsec-tools
 PKG_MD5SUM:=d0242a943c82c0cbf28005966ff35e21
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index 30fafb8e5e0e4616192653f0d4228022ef81af14..f78ab77a05820ee845e8a50dd6e47b20ae286e60 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=ipset
 PKG_VERSION:=2.2.3
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2
 PKG_SOURCE_URL:=http://ipset.netfilter.org
 PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/ipset
index 8d77fb43f475ed4274f9f2011b8afd6510afe0c4..d198a9271ad2db81314fca4bad21f7c87088d46b 100644 (file)
@@ -13,7 +13,6 @@ PKG_NAME:=iptables
 PKG_VERSION:=1.3.5
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
        ftp://ftp.be.netfilter.org/pub/netfilter/iptables/ \
@@ -22,23 +21,26 @@ PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
 PKG_MD5SUM:=00fb916fa8040ca992a5ace56d905ea5
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-PKG_MENU:=IPv4 / IPv6 firewall administration
-
 include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
--include $(LINUX_DIR)/.config
-include $(INCLUDE_DIR)/netfilter.mk
+  -include $(LINUX_DIR)/.config
+  include $(INCLUDE_DIR)/netfilter.mk
 endif
 
+define Package/iptables/Default
+  SECTION:=net
+  CATEGORY:=Base system
+  URL:=http://netfilter.org/
+endef
+
 define Package/iptables
-SECTION:=net
-CATEGORY:=Base system
-MENU:=1
-DEFAULT:=y
-TITLE:=IPv4 firewall administration tool
-URL:=http://netfilter.org/
+  $(call Package/iptables/Default)
+  DEFAULT:=y
+  TITLE:=IPv4 firewall administration tool
+  MENU:=1
 endef
 
 define Package/iptables/conffiles
@@ -47,114 +49,120 @@ define Package/iptables/conffiles
 endef
 
 define Package/iptables-mod-conntrack
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables +kmod-ipt-conntrack
-TITLE:=connection tracking modules
-DESCRIPTION:=iptables extensions for connection tracking \\\
-Includes: \\\
-       * libipt_conntrack \\\
-       * libipt_helper \\\
-       * libipt_connmark/CONNMARK
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables +kmod-ipt-conntrack
+  TITLE:=connection tracking modules
+  DESCRIPTION:=\
+       iptables extensions for connection tracking.\\\
+       \\\
+       Includes: \\\
+       - libipt_conntrack \\\
+       - libipt_helper \\\
+       - libipt_connmark/CONNMARK
 endef
 
 define Package/iptables-mod-filter
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables +kmod-ipt-filter
-TITLE:=filter modules
-DESCRIPTION:=iptables extensions for packet content inspection\\\
-Includes: \\\
-       * libipt_ipp2p \\\
-       * libipt_layer7 
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables +kmod-ipt-filter
+  TITLE:=filter modules
+  DESCRIPTION:=\
+       iptables extensions for packet content inspection.\\\
+       \\\
+       Includes: \\\
+       - libipt_ipp2p \\\
+       - libipt_layer7 
 endef
 
 define Package/iptables-mod-imq
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables
-TITLE:=IMQ support +kmod-imq
-DESCRIPTION:=iptables extension for IMQ support\\\
-Includes: \\\
-       * libipt_IMQ
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables
+  TITLE:=IMQ support
+  DESCRIPTION:=\
+       iptables extension for IMQ support.\\\
+       \\\
+       Includes: \\\
+       - libipt_IMQ
 endef
 
 define Package/iptables-mod-ipopt
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables +kmod-ipt-ipopt
-TITLE:=IP/Packet option modules
-DESCRIPTION:=iptables extensions for matching/changing IP packet options\\\
-Includes: \\\
-       * libipt_dscp/DSCP \\\
-       * libipt_ecn/ECN \\\
-       * libipt_length \\\
-       * libipt_mac \\\
-       * libipt_tos/TOS \\\
-       * libipt_tcpmms \\\
-       * libipt_ttl/TTL \\\
-       * libipt_unclean 
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables +kmod-ipt-ipopt
+  TITLE:=IP/Packet option modules
+  DESCRIPTION:=\
+       iptables extensions for matching/changing IP packet options.\\\
+       \\\
+       Includes: \\\
+       - libipt_dscp/DSCP \\\
+       - libipt_ecn/ECN \\\
+       - libipt_length \\\
+       - libipt_mac \\\
+       - libipt_tos/TOS \\\
+       - libipt_tcpmms \\\
+       - libipt_ttl/TTL \\\
+       - libipt_unclean 
 endef
 
 define Package/iptables-mod-ipsec
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables +kmod-ipt-ipsec
-TITLE:=IPSec extensions
-DESCRIPTION:=iptables extensions for matching ipsec traffic\\\
-Includes: \\\
-       * libipt_ah \\\
-       * libipt_esp
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables +kmod-ipt-ipsec
+  TITLE:=IPSec extensions
+  DESCRIPTION:=\
+       iptables extensions for matching ipsec traffic.\\\
+       \\\
+       Includes: \\\
+       - libipt_ah \\\
+       - libipt_esp
 endef
 
 define Package/iptables-mod-nat
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables +kmod-ipt-nat
-TITLE:=extra NAT targets
-DESCRIPTION:=iptables extensions for different NAT targets\\\
-Includes: \\\
-       * libipt_REDIRECT
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables +kmod-ipt-nat
+  TITLE:=extra NAT targets
+  DESCRIPTION:=\
+       iptables extensions for different NAT targets.\\\
+       \\\
+       Includes: \\\
+       - libipt_REDIRECT
 endef
 
 define Package/iptables-mod-ulog
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables +kmod-ipt-ulog
-TITLE:=user-space packet logging
-DESCRIPTION:=iptables extensions for user-space packet logging\\\
-Includes: \\\
-       * libipt_ULOG
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables +kmod-ipt-ulog
+  TITLE:=user-space packet logging
+  DESCRIPTION:=\
+       iptables extensions for user-space packet logging.\\\
+       \\\
+       Includes: \\\
+       - libipt_ULOG
 endef
 
 define Package/iptables-mod-extra
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables +kmod-ipt-extra
-TITLE:=other extra iptables extensions
-DESCRIPTION:=other extra iptables extensions\\\
-Includes: \\\
-       * libipt_limit \\\
-       * libipt_owner \\\
-       * libipt_physdev \\\
-       * libipt_pkttype \\\
-       * libipt_recent
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables +kmod-ipt-extra
+  TITLE:=other extra iptables extensions
+  DESCRIPTION:=\
+       other extra iptables extensions.\\\
+       \\\
+       Includes: \\\
+       - libipt_limit \\\
+       - libipt_owner \\\
+       - libipt_physdev \\\
+       - libipt_pkttype \\\
+       - libipt_recent
 endef
 
 define Package/iptables-utils
-SECTION:=net
-CATEGORY:=Base system
-DEPENDS:=iptables
-TITLE:=iptables save and restore utilities
+  $(call Package/iptables/Default)
+  DEPENDS:=iptables
+  TITLE:=iptables save and restore utilities
 endef
 
 define Package/ip6tables
-SECTION:=net
-CATEGORY:=Base system
-TITLE:=IPv6 firewall administration tool
+  $(call Package/iptables/Default)
+  CATEGORY:=Network
+  TITLE:=IPv6 firewall administration tool
 endef
 
-
 define Build/Configure
 endef
 
@@ -169,7 +177,6 @@ define Build/Compile
                all install install-devel
 endef
 
-
 define Build/InstallDev
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
@@ -184,7 +191,6 @@ define Build/UninstallDev
        rm -rf $(STAGING_DIR)/usr/lib/libipq.a
 endef
 
-               
 define Package/iptables/install
        install -d -m0755 $(1)/etc/config
        install -m0644 ./files/firewall.config $(1)/etc/config/firewall
@@ -216,15 +222,15 @@ define Package/ip6tables/install
 endef
 
 define BuildPlugin
-define Package/$(1)/install
+  define Package/$(1)/install
        install -m0755 -d $$(1)/usr/lib/iptables
        for m in $$(patsubst xt_%,ipt_%,$(2)); do \
                $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so $$(1)/usr/lib/iptables/ ; \
        done
        $(3)
-endef
+  endef
 
-$$(eval $$(call BuildPackage,$(1)))
+  $$(eval $$(call BuildPackage,$(1)))
 endef
 
 L7_INSTALL:=mkdir -p $$(1)/etc/l7-protocols; \
index 0d4a8a58d2ff85001e1e9e2f1570297eecbe09e7..a4e7ff7b0333dd723c4b5b74394ea42f546cb088 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=isakmpd
 PKG_VERSION:=20041012
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/i/isakmpd/
 PKG_MD5SUM:=e6d25a9e232fb186e1a48dc06453bd57
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index f43f4fdf69362db7713e6ad5876d12d5347a12a0..bb9fd4f70fe2cdf993e11f9aba44b7d0edf3f524 100644 (file)
@@ -17,9 +17,9 @@ PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
 
 include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
--include $(LINUX_DIR)/.config
-NF_KMOD:=1
-include $(INCLUDE_DIR)/netfilter.mk
+  -include $(LINUX_DIR)/.config
+  NF_KMOD:=1
+  include $(INCLUDE_DIR)/netfilter.mk
 endif
 
 define Build/Prepare
@@ -30,9 +30,9 @@ define Build/Compile
 endef
 
 define KernelPackage/Defaults
-FILES:=
-KCONFIG:=m
-AUTOLOAD:=
+  FILES:=
+  KCONFIG:=m
+  AUTOLOAD:=
 endef
 
 define ModuleAutoLoad
@@ -72,20 +72,19 @@ define KernelPackage
   endef
 
   ifeq ($(findstring m,$(KCONFIG)),m)
-  ifneq ($(strip $(FILES)),)
-    define Package/kmod-$(1)/install
+    ifneq ($(strip $(FILES)),)
+      define Package/kmod-$(1)/install
                mkdir -p $$(1)/lib/modules/$(LINUX_VERSION)
                $(CP) $$(FILES) $$(1)/lib/modules/$(LINUX_VERSION)/
                $(call ModuleAutoLoad,$(1),$$(1),$(AUTOLOAD))
-    endef
-  endif
+      endef
+    endif
   endif
   $$(eval $$(call BuildPackage,kmod-$(1)))
 endef
 
 define AutoLoad
-add_module $(1) "$(2)";
+  add_module $(1) "$(2)";
 endef
 
 include ./modules.mk
-
index 9475620526c3f0bb5192f4d00377c2ad2df214c1..ab32969e3551f293e6aa8954e202f35c43d25a3e 100644 (file)
 
 
 define KernelPackage/crypto
-TITLE:=CryptoAPI modules
-DESCRIPTION:=CryptoAPI modules
-KCONFIG:= \
-  $(CONFIG_CRYPTO_HMAC) \
-  $(CONFIG_CRYPTO_NULL) \
-  $(CONFIG_CRYPTO_MD4) \
-  $(CONFIG_CRYPTO_MD5) \
-  $(CONFIG_CRYPTO_SHA1) \
-  $(CONFIG_CRYPTO_SHA256) \
-  $(CONFIG_CRYPTO_SHA512) \
-  $(CONFIG_CRYPTO_WP512) \
-  $(CONFIG_CRYPTO_TGR192) \
-  $(CONFIG_CRYPTO_DES) \
-  $(CONFIG_CRYPTO_BLOWFISH) \
-  $(CONFIG_CRYPTO_TWOFISH) \
-  $(CONFIG_CRYPTO_SERPENT) \
-  $(CONFIG_CRYPTO_AES) \
-  $(CONFIG_CRYPTO_CAST5) \
-  $(CONFIG_CRYPTO_CAST6) \
-  $(CONFIG_CRYPTO_TEA) \
-  $(CONFIG_CRYPTO_ARC4) \
-  $(CONFIG_CRYPTO_KHAZAD) \
-  $(CONFIG_CRYPTO_ANUBIS) \
-  $(CONFIG_CRYPTO_DEFLATE) \
-  $(CONFIG_CRYPTO_MICHAEL_MIC) \
-  $(CONFIG_CRYPTO_CRC32C)
-FILES:=$(MODULES_DIR)/kernel/crypto/*.$(LINUX_KMOD_SUFFIX)
+  TITLE:=CryptoAPI modules
+  KCONFIG:= \
+       $(CONFIG_CRYPTO_HMAC) \
+       $(CONFIG_CRYPTO_NULL) \
+       $(CONFIG_CRYPTO_MD4) \
+       $(CONFIG_CRYPTO_MD5) \
+       $(CONFIG_CRYPTO_SHA1) \
+       $(CONFIG_CRYPTO_SHA256) \
+       $(CONFIG_CRYPTO_SHA512) \
+       $(CONFIG_CRYPTO_WP512) \
+       $(CONFIG_CRYPTO_TGR192) \
+       $(CONFIG_CRYPTO_DES) \
+       $(CONFIG_CRYPTO_BLOWFISH) \
+       $(CONFIG_CRYPTO_TWOFISH) \
+       $(CONFIG_CRYPTO_SERPENT) \
+       $(CONFIG_CRYPTO_AES) \
+       $(CONFIG_CRYPTO_CAST5) \
+       $(CONFIG_CRYPTO_CAST6) \
+       $(CONFIG_CRYPTO_TEA) \
+       $(CONFIG_CRYPTO_ARC4) \
+       $(CONFIG_CRYPTO_KHAZAD) \
+       $(CONFIG_CRYPTO_ANUBIS) \
+       $(CONFIG_CRYPTO_DEFLATE) \
+       $(CONFIG_CRYPTO_MICHAEL_MIC) \
+       $(CONFIG_CRYPTO_CRC32C)
+  FILES:=$(MODULES_DIR)/kernel/crypto/*.$(LINUX_KMOD_SUFFIX)
 endef
 $(eval $(call KernelPackage,crypto))
 
 define KernelPackage/ide-core
-TITLE:=Kernel support for IDE
-DESCRIPTION:=Kernel modules for IDE support\\\
-       useful for usb mass storage devices (e.g. on WL-HDD)\\\
+  TITLE:=Kernel support for IDE
+  DESCRIPTION:=\
+       Useful for usb mass storage devices (e.g. on WL-HDD)\\\
        \\\
        Includes: \\\
-           - ide-core \\\
-           - ide-detect \\\
-           - ide-disk \\\
-           - pdc202xx_old
-KCONFIG:=$(CONFIG_IDE)
-FILES:=$(MODULES_DIR)/kernel/drivers/ide/*.$(LINUX_KMOD_SUFFIX)
-AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-detect ide-disk)
+       - ide-core \\\
+       - ide-detect \\\
+       - ide-disk
+  KCONFIG:=$(CONFIG_IDE)
+  FILES:=$(MODULES_DIR)/kernel/drivers/ide/*.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-detect ide-disk)
 endef
 $(eval $(call KernelPackage,ide-core))
 
 define KernelPackage/ide-pdc202xx
-TITLE:=PDC202xx IDE driver
-DESCRIPTION:=PDC202xx IDE driver
-KCONFIG:=$(CONFIG_BLK_DEV_PDC202XX_OLD)
-FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
-AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
+  TITLE:=PDC202xx IDE driver
+  KCONFIG:=$(CONFIG_BLK_DEV_PDC202XX_OLD)
+  FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
 endef
 $(eval $(call KernelPackage,ide-pdc202xx))
 
 define KernelPackage/ieee80211softmac
-TITLE:=802.11 Networking stack
-DESCRIPTION:=802.11 Networking stack\\\
-Includes: \\\
-       * ieee80211_crypt \\\
-       * ieee80211 \\\
-       * ieee80211_crypt_wep \\\
-       * ieee80211_crypt_tkip \\\
-       * ieee80211_crytp_ccmp \\\
-       * ieee80211softmac
-KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC)
-FILES:=$(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX)
-AUTOLOAD:=$(call AutoLoad,10,ieee80211_crypt \
+  TITLE:=802.11 Networking stack
+  DESCRIPTION:=\\\
+       \\\
+       Includes: \\\
+       - ieee80211_crypt \\\
+       - ieee80211 \\\
+       - ieee80211_crypt_wep \\\
+       - ieee80211_crypt_tkip \\\
+       - ieee80211_crytp_ccmp \\\
+       - ieee80211softmac
+  KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC)
+  FILES:=$(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,10, \
+       ieee80211_crypt \
        ieee80211 \
        ieee80211_crypt_wep \
        ieee80211_crypt_tkip \
        ieee80211_crypt_ccmp \
-       ieee80211softmac)
+       ieee80211softmac \
+  )
 endef
 $(eval $(call KernelPackage,ieee80211softmac))
 
+
 WIMENU:=Wireless drivers
 
 define KernelPackage/bcm43xx
-TITLE:=Broadcom BCM43xx driver
-DESCRIPTION:=Open source BCM43xx driver\\\
-Includes: \\\
-       * bcm43xx
-KCONFIG:=$(CONFIG_BCM43XX)
-SUBMENU:=$(WIMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX)
-AUTOLOAD:=$(call Autoload,50,bcm43xx)
+  TITLE:=Broadcom BCM43xx driver
+  DESCRIPTION:=\\\
+       \\\
+       Includes: \\\
+       - bcm43xx
+  KCONFIG:=$(CONFIG_BCM43XX)
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call Autoload,50,bcm43xx)
+  SUBMENU:=$(WIMENU)
 endef
 $(eval $(call KernelPackage,bcm43xx))
 
 define KernelPackage/ipw2100
-TITLE:=Intel IPw2100 driver
-DESCRIPTION:=Intel IPW2100 driver\\\
-Includes: \\\
-        * ipw2100
-KCONFIG:=$(CONFIG_IPW2100)
-SUBMENU:=$(WIMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX)
-AUTOLOAD:=$(call Autoload,50,ipw2100)
+  TITLE:=Intel IPw2100 driver
+  DESCRIPTION:=\\\
+       \\\
+       Includes: \\\
+       - ipw2100
+  KCONFIG:=$(CONFIG_IPW2100)
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call Autoload,50,ipw2100)
+  SUBMENU:=$(WIMENU)
 endef
 $(eval $(call KernelPackage,ipw2100))
 
 define KernelPackage/ipw2200
-TITLE:=Intel IPw2200 driver
-DESCRIPTION:=Intel IPW2200 driver\\\
-Includes: \\\
-        * ipw2200
-KCONFIG:=$(CONFIG_IPW2200)
-SUBMENU:=$(WIMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX)
-AUTOLOAD:=$(call Autoload,50,ipw2200)
+  TITLE:=Intel IPw2200 driver
+  DESCRIPTION:=\\\
+       \\\
+       Includes: \\\
+       - ipw2200
+  KCONFIG:=$(CONFIG_IPW2200)
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call Autoload,50,ipw2200)
+  SUBMENU:=$(WIMENU)
 endef
 $(eval $(call KernelPackage,ipw2200))
 
+
 NFMENU:=Netfilter Extensions
 
 define KernelPackage/ipt-conntrack
-TITLE:=Modules for connection tracking
-DESCRIPTION:=Netfilter (IPv4) kernel modules for connection tracking\\\
-Includes: \\\
-       * ipt_conntrack \\\
-       * ipt_helper \\\
-       * ipt_connmark/CONNMARK
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_CONNTRACK-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Modules for connection tracking
+  DESCRIPTION:=\
+       Netfilter (IPv4) kernel modules for connection tracking\\\
+       \\\
+       Includes: \\\
+       - ipt_conntrack \\\
+       - ipt_helper \\\
+       - ipt_connmark/CONNMARK
+  FILES:=$(foreach mod,$(IPT_CONNTRACK-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-conntrack))
 
-
 define KernelPackage/ipt-filter
-TITLE:=Modules for packet content inspection
-DESCRIPTION:=Netfilter (IPv4) kernel modules for packet content inspection \\\
-Includes: \\\
-       * ipt_ipp2p \\\
-       * ipt_layer7
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_FILTER-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Modules for packet content inspection
+  DESCRIPTION:=\
+       Netfilter (IPv4) kernel modules for packet content inspection \\\
+       \\\
+       Includes: \\\
+       - ipt_ipp2p \\\
+       - ipt_layer7
+  FILES:=$(foreach mod,$(IPT_FILTER-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-filter))
 
-
 define KernelPackage/ipt-ipopt
-TITLE:=Modules for matching/changing IP packet options
-DESCRIPTION:=Netfilter (IPv4) modules for matching/changing IP packet options \\\
-Includes: \\\
-       * ipt_dscp/DSCP \\\
-       * ipt_ecn/ECN \\\
-       * ipt_length \\\
-       * ipt_mac \\\
-       * ipt_tos/TOS \\\
-       * ipt_tcpmms \\\
-       * ipt_ttl/TTL \\\
-       * ipt_unclean
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_IPOPT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Modules for matching/changing IP packet options
+  DESCRIPTION:=\
+       Netfilter (IPv4) modules for matching/changing IP packet options \\\
+       \\\
+       Includes: \\\
+       - ipt_dscp/DSCP \\\
+       - ipt_ecn/ECN \\\
+       - ipt_length \\\
+       - ipt_mac \\\
+       - ipt_tos/TOS \\\
+       - ipt_tcpmms \\\
+       - ipt_ttl/TTL \\\
+       - ipt_unclean
+  FILES:=$(foreach mod,$(IPT_IPOPT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-ipopt))
 
-
 define KernelPackage/ipt-ipsec
-TITLE:=Modules for matching IPSec packets
-DESCRIPTION:=Netfilter (IPv4) modules for matching IPSec packets \\\
-Includes: \\\
-       * ipt_ah \\\
-       * ipt_esp
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_IPSEC-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Modules for matching IPSec packets
+  DESCRIPTION:=\
+       Netfilter (IPv4) modules for matching IPSec packets \\\
+       \\\
+       Includes: \\\
+       - ipt_ah \\\
+       - ipt_esp
+  FILES:=$(foreach mod,$(IPT_IPSEC-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-ipsec))
 
-
 define KernelPackage/ipt-nat
-TITLE:=Modules for extra NAT targets
-DESCRIPTION:=Netfilter (IPv4) modules for extra NAT targets \\\
-Includes: \\\
-       * ipt_REDIRECT \\\
-       * ipt_NETMAP
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_NAT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Modules for extra NAT targets
+  DESCRIPTION:=\
+       Netfilter (IPv4) modules for extra NAT targets \\\
+       \\\
+       Includes: \\\
+       - ipt_REDIRECT \\\
+       - ipt_NETMAP
+  FILES:=$(foreach mod,$(IPT_NAT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-nat))
 
 define KernelPackage/ipt-nathelper
-TITLE:=Extra Conntrack and NAT helpers
-DESCRIPTION:=Extra Conntrack and NAT helpers (IPv4) \\\
-Includes: \\\
-       * ip_conntrack_amanda \\\
-       * ip_conntrack_proto_gre \\\
-       * ip_nat_proto_gre \\\
-       * ip_conntrack_pptp \\\
-       * ip_nat_pptp \\\
-       * ip_conntrack_sip \\\
-       * ip_nat_sip \\\
-       * ip_nat_snmp_basic \\\
-       * ip_conntrack_tftp
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_NAT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Extra Conntrack and NAT helpers
+  DESCRIPTION:=\
+       Extra Netfilter (IPv4) Conntrack and NAT helpers \\\
+       \\\
+       Includes: \\\
+       - ip_conntrack_amanda \\\
+       - ip_conntrack_proto_gre \\\
+       - ip_nat_proto_gre \\\
+       - ip_conntrack_pptp \\\
+       - ip_nat_pptp \\\
+       - ip_conntrack_sip \\\
+       - ip_nat_sip \\\
+       - ip_nat_snmp_basic \\\
+       - ip_conntrack_tftp
+  FILES:=$(foreach mod,$(IPT_NAT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-nathelper))
 
 define KernelPackage/ipt-imq
-TITLE:=Intermediate Queueing support
-DESCRIPTION:=Kernel support for Intermediate Queueing devices
-KCONFIG:=$(CONFIG_IP_NF_TARGET_IMQ)
-SUBMENU:=$(NFMENU)
-FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/imq.$(LINUX_KMOD_SUFFIX)
+  TITLE:=Intermediate Queueing support
+  DESCRIPTION:=\
+       Kernel support for Intermediate Queueing devices
+  KCONFIG:=$(CONFIG_IP_NF_TARGET_IMQ)
+  FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/imq.$(LINUX_KMOD_SUFFIX)
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-imq))
 
 
 define KernelPackage/ipt-queue
-TITLE:=Module for user-space packet queueing
-DESCRIPTION:=Netfilter (IPv4) module for user-space packet queueing \\\
-Includes: \\\
-       * ipt_QUEUE
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_QUEUE-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Module for user-space packet queueing
+  DESCRIPTION:=\
+       Netfilter (IPv4) module for user-space packet queueing \\\
+       \\\
+       Includes: \\\
+       - ipt_QUEUE
+  FILES:=$(foreach mod,$(IPT_QUEUE-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-queue))
 
 define KernelPackage/ipt-ulog
-TITLE:=Module for user-space packet logging
-DESCRIPTION:=Netfilter (IPv4) module for user-space packet logging \\\
-Includes: \\\
-       * ipt_ULOG
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_ULOG-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Module for user-space packet logging
+  DESCRIPTION:=\
+       Netfilter (IPv4) module for user-space packet logging \\\
+       \\\
+       Includes: \\\
+       - ipt_ULOG
+  FILES:=$(foreach mod,$(IPT_ULOG-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-ulog))
 
 define KernelPackage/ipt-extra
-TITLE:=Extra modules
-DESCRIPTION:=Other Netfilter (IPv4) kernel modules\\\
-Includes: \\\
-       * ipt_limit \\\
-       * ipt_owner \\\
-       * ipt_physdev \\\
-       * ipt_pkttype \\\
-       * ipt_recent
-SUBMENU:=$(NFMENU)
-FILES:=$(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  TITLE:=Extra modules
+  DESCRIPTION:=\
+       Other Netfilter (IPv4) kernel modules\\\
+       Includes: \\\
+       - ipt_limit \\\
+       - ipt_owner \\\
+       - ipt_physdev \\\
+       - ipt_pkttype \\\
+       - ipt_recent
+  FILES:=$(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ipt-extra))
 
 define KernelPackage/ip6tables
-TITLE:=IPv6 modules
-DESCRIPTION:=Netfilter IPv6 firewalling support
-SUBMENU:=$(NFMENU)
-KCONFIG:=$(CONFIG_IP6_NF_IPTABLES)
-FILES:=$(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.$(LINUX_KMOD_SUFFIX)
+  TITLE:=IPv6 modules
+  DESCRIPTION:=\
+       Netfilter IPv6 firewalling support
+  KCONFIG:=$(CONFIG_IP6_NF_IPTABLES)
+  FILES:=$(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.$(LINUX_KMOD_SUFFIX)
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ip6tables))
 
 
 define KernelPackage/arptables
-TITLE:=ARP firewalling modules
-DESCRIPTION:=Kernel modules for ARP firewalling
-SUBMENU:=$(NFMENU)
-FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX)
-KCONFIG:=$(CONFIG_IP_NF_ARPTABLES)
+  TITLE:=ARP firewalling modules
+  DESCRIPTION:=\
+       Kernel modules for ARP firewalling
+  FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX)
+  KCONFIG:=$(CONFIG_IP_NF_ARPTABLES)
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,arptables))
 
 
 define KernelPackage/ebtables
-TITLE:=Bridge firewalling modules
-DESCRIPTION:=Kernel modules for Ethernet Bridge firewalling
-SUBMENU:=$(NFMENU)
-FILES:=$(MODULES_DIR)/kernel/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX)
-KCONFIG:=$(CONFIG_BRIDGE_NF_EBTABLES)
+  TITLE:=Bridge firewalling modules
+  DESCRIPTION:=\
+       Kernel modules for Ethernet Bridge firewalling
+  FILES:=$(MODULES_DIR)/kernel/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX)
+  KCONFIG:=$(CONFIG_BRIDGE_NF_EBTABLES)
+  SUBMENU:=$(NFMENU)
 endef
 $(eval $(call KernelPackage,ebtables))
 
+
 define KernelPackage/ipv6
-TITLE:=IPv6 support
-DESCRIPTION:=Kernel modules for IPv6 support
-KCONFIG:=$(CONFIG_IPV6)
-FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
+  TITLE:=IPv6 support
+  DESCRIPTION:=\
+       Kernel modules for IPv6 support
+  KCONFIG:=$(CONFIG_IPV6)
+  FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
 endef
 $(eval $(call KernelPackage,ipv6))
 
+
 define KernelPackage/gre
-TITLE:=GRE support
-DESCRIPTION:=Generic Routing Encapsulation support
-KCONFIG=$(CONFIG_NET_IPGRE)
-FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
+  TITLE:=GRE support
+  DESCRIPTION:=\
+       Generic Routing Encapsulation support
+  KCONFIG=$(CONFIG_NET_IPGRE)
+  FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
 endef
 $(eval $(call KernelPackage,gre))
 
+
 define KernelPackage/tun
-TITLE:=Universal TUN/TAP driver
-DESCRIPTION:=Kernel support for the TUN/TAP tunneling device
-KCONFIG:=$(CONFIG_TUN)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
+  TITLE:=Universal TUN/TAP driver
+  DESCRIPTION:=\
+       Kernel support for the TUN/TAP tunneling device
+  KCONFIG:=$(CONFIG_TUN)
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
 endef
 $(eval $(call KernelPackage,tun))
 
+
 define KernelPackage/ppp
-TITLE:=PPP modules
-DESCRIPTION:=Kernel modules for PPP support
-KCONFIG:=$(CONFIG_PPP)
+  TITLE:=PPP modules
+  DESCRIPTION:=\
+       Kernel modules for PPP support
+  KCONFIG:=$(CONFIG_PPP)
 endef
 
 define KernelPackage/ppp/2.6
-FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_async.ko $(MODULES_DIR)/kernel/drivers/net/ppp_generic.ko $(MODULES_DIR)/kernel/drivers/net/slhc.ko $(MODULES_DIR)/kernel/lib/crc-ccitt.ko
-AUTOLOAD:=$(call AutoLoad,30,crc-ccitt)
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_async.ko $(MODULES_DIR)/kernel/drivers/net/ppp_generic.ko $(MODULES_DIR)/kernel/drivers/net/slhc.ko $(MODULES_DIR)/kernel/lib/crc-ccitt.ko
+  AUTOLOAD:=$(call AutoLoad,30,crc-ccitt)
 endef
 
 define KernelPackage/ppp/2.4
-FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_async.o $(MODULES_DIR)/kernel/drivers/net/ppp_generic.o $(MODULES_DIR)/kernel/drivers/net/slhc.o
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_async.o $(MODULES_DIR)/kernel/drivers/net/ppp_generic.o $(MODULES_DIR)/kernel/drivers/net/slhc.o
 endef
 $(eval $(call KernelPackage,ppp))
 
+
 define KernelPackage/pppoe
-TITLE:=PPPoE modules
-DESCRIPTION:=Kernel modules for PPP over Ethernet support
-DEPENDS:=kmod-ppp
-KCONFIG:=$(CONFIG_PPPOE)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
+  TITLE:=PPPoE support
+  DESCRIPTION:=\
+       Kernel modules for PPPoE (PPP over Ethernet) support
+  DEPENDS:=kmod-ppp
+  KCONFIG:=$(CONFIG_PPPOE)
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
 endef
 $(eval $(call KernelPackage,pppoe))
 
+
 define KernelPackage/pppoa
-TITLE:=PPPoA modules
-DESCRIPTION:=Kernel modules for PPP over ATM support
-DEPENDS:=kmod-ppp
-KCONFIG:=$(CONFIG_PPPOATM)
-FILES:=$(MODULES_DIR)/kernel/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
+  TITLE:=PPPoA support
+  DESCRIPTION:=\
+       Kernel modules for PPPoA (PPP over ATM) support
+  DEPENDS:=kmod-ppp
+  KCONFIG:=$(CONFIG_PPPOATM)
+  FILES:=$(MODULES_DIR)/kernel/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
 endef
 $(eval $(call KernelPackage,pppoa))
 
 
 define KernelPackage/mppe
-TITLE:=Microsoft PPP compression/encryption
-DESCRIPTION:=Kernel modules for Microsoft PPP compression/encryption
-DEPENDS:=kmod-ppp
-KCONFIG:=$(CONFIG_PPP_MPPE)
+  TITLE:=Microsoft PPP compression/encryption
+  DESCRIPTION:=Kernel modules for Microsoft PPP compression/encryption
+  DEPENDS:=kmod-ppp
+  KCONFIG:=$(CONFIG_PPP_MPPE)
 endef
 
 define KernelPackage/mppe/2.4
-FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
 endef
 
 define KernelPackage/mppe/2.6
-FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
 endef
 $(eval $(call KernelPackage,mppe))
 
 
-
 NDMENU:=Network Devices
 
-
 define KernelPackage/natsemi
-TITLE:=National Semiconductor DP8381x series 
-DESCRIPTION:=National Semiconductor DP8381x series PCI Ethernet kernel support
-SUBMENU:=$(NDMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
-KCONFIG:=$(CONFIG_NATSEMI)
-DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  TITLE:=National Semiconductor DP8381x series 
+  DESCRIPTION:=\
+       Kernel modules for National Semiconductor DP8381x series PCI Ethernet \\\
+       adapters.
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
+  KCONFIG:=$(CONFIG_NATSEMI)
+  DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  SUBMENU:=$(NDMENU)
 endef
 $(eval $(call KernelPackage,natsemi))
 
 define KernelPackage/sis900
-TITLE:=SiS 900 Ethernet support
-DESCRIPTION:=Sis 900 kernel ethernet support
-SUBMENU:=$(NDMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
-KCONFIG:=$(CONFIG_SIS900)
-DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  TITLE:=SiS 900 Ethernet support
+  DESCRIPTION:=\
+       Kernel modules for Sis 900 Ethernet adapters.
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
+  KCONFIG:=$(CONFIG_SIS900)
+  DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  SUBMENU:=$(NDMENU)
 endef
 $(eval $(call KernelPackage,sis900))
 
-
 define KernelPackage/via-rhine
-TITLE:=Via Rhine ethernet support
-DESCRIPTION:=Kernel modules for Via Rhine ethernet chipsets
-SUBMENU:=$(NDMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
-KCONFIG:=$(CONFIG_VIA_RHINE)
-DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  TITLE:=Via Rhine ethernet support
+  DESCRIPTION:=\
+       Kernel modules for Via Rhine Ethernet chipsets.
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
+  KCONFIG:=$(CONFIG_VIA_RHINE)
+  DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  SUBMENU:=$(NDMENU)
 endef
 $(eval $(call KernelPackage,via-rhine))
 
 define KernelPackage/8139too
-TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
-DESCRIPTION:=Kernel modules for RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
-SUBMENU:=$(NDMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
-KCONFIG:=$(CONFIG_8139TOO)
-DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
+  DESCRIPTION:=\
+       Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
+  KCONFIG:=$(CONFIG_8139TOO)
+  DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  SUBMENU:=$(NDMENU)
 endef
 $(eval $(call KernelPackage,8139too))
 
 define KernelPackage/e100
-TITLE:=Intel(R) PRO/100+ cards kernel support
-DESCRIPTION:=Kernel modules for Intel(R) PRO/100+ cards kernel support
-SUBMENU:=$(NDMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
-KCONFIG:=$(CONFIG_E100)
-DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  TITLE:=Intel(R) PRO/100+ cards kernel support
+  DESCRIPTION:=\
+       Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
+  KCONFIG:=$(CONFIG_E100)
+  DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  SUBMENU:=$(NDMENU)
 endef
 $(eval $(call KernelPackage,e100))
 
 define KernelPackage/3c59x
-TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
-DESCRIPTION:= \
-         This option enables driver support for a large number of 10mbps and \
-         10/100mbps EISA, PCI and PCMCIA 3Com network cards: \
-         \
-          * "Vortex"    (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI \
-          * "Boomerang" (EtherLink XL 3c900 or 3c905)            PCI   \
-          * "Cyclone"   (3c540/3c900/3c905/3c980/3c575/3c656)    PCI and Cardbus \
-          * "Tornado"   (3c905)                                  PCI \
-          * "Hurricane" (3c555/3cSOHO)                           PCI 
-SUBMENU:=$(NDMENU)
-FILES:=$(MODULES_DIR)/kernel/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
-KCONFIG:=$(CONFIG_3C59X)
-DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
+  DESCRIPTION:=\
+       This option enables driver support for a large number of 10mbps and \\\
+       10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters: \\\
+       - "Vortex"    (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI \\\
+       - "Boomerang" (EtherLink XL 3c900 or 3c905)            PCI \\\
+       - "Cyclone"   (3c540/3c900/3c905/3c980/3c575/3c656)    PCI and Cardbus \\\
+       - "Tornado"   (3c905)                                  PCI  \\\
+       - "Hurricane" (3c555/3cSOHO)                           PCI 
+  FILES:=$(MODULES_DIR)/kernel/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
+  KCONFIG:=$(CONFIG_3C59X)
+  DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
+  SUBMENU:=$(NDMENU)
 endef
 $(eval $(call KernelPackage,3c59x))
-
-
-
index c756747d730d0dc5cff40c10ce751cd024829fa5..38f1f6901d969de2dfdd2feb3b02e48841e58719 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=keynote
 PKG_VERSION:=2.3
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
 PKG_MD5SUM:=b569066ac2ba1356c2112b118a7d74d0
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
 
@@ -55,8 +56,7 @@ define Build/InstallDev
 endef
 
 define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/keynote \
+       rm -rf  $(STAGING_DIR)/usr/include/keynote \
                $(STAGING_DIR)/usr/lib/libkeynote.a
 endef
 
index 4fd1acae19dae629e280bf02c15d974cdaa09ac5..f8de02d5599c65a4873356993c49e000754c79dc 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=libpcap
 PKG_VERSION:=0.9.4
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.tcpdump.org/release/
 PKG_MD5SUM:=79025766e8027df154cb1f32de8a7974
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index 291fe3573c86638327f5c49c5999d7271dd50128..24a914a71c227e49554e35396ca8b4c9c3886189 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=linux-atm
 PKG_VERSION:=2.4.1
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/linux-atm/
 PKG_MD5SUM:=84fef49cc39ff2605204246666f65864
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index 431e0a7a4dbf95cf48649208c28c13a97050bf80..a4180063f4e341dd3bd50988c19e67d33cd12ece 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
index 198f4c94cbbfb657084dc843e2b801dbfebe7c51..38ad63754bef27c28ffd57d6f2f1ea26c5f3ee44 100644 (file)
@@ -13,12 +13,13 @@ PKG_NAME:=mini_fo
 PKG_VERSION:=0.6.2pre1
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/mini_fo-0-6-2-pre1
 PKG_SOURCE:=mini_fo-0-6-2-pre1.tar.bz2
 PKG_SOURCE_URL:=http://www.denx.de/twiki/pub/Know/MiniFOHome/
 PKG_MD5SUM:=acd12157be25d7b3c8df90914049403e
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/mini_fo-0-6-2-pre1
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-mini-fo
index 4b7995af4ae9dd42f7af10ba18a23bfbe264783a..ea3d3192dc9815fed6f7ace480118b0773ed4208 100644 (file)
@@ -12,7 +12,6 @@ PKG_NAME:=openssl
 PKG_VERSION:=0.9.8b
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.openssl.org/source/ \
        ftp://ftp.funet.fi/pub/crypt/cryptography/libs/openssl/source/ \
@@ -21,6 +20,7 @@ PKG_SOURCE_URL:=http://www.openssl.org/source/ \
 PKG_MD5SUM:=12cedbeb6813a0d7919dbf1f82134b86
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -110,8 +110,7 @@ define Build/InstallDev
 endef
 
 define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/openssl \
+       rm -rf  $(STAGING_DIR)/usr/include/openssl \
                $(STAGING_DIR)/usr/lib/lib{crypto,ssl}.{a,so*}
 endef
 
index 0f7a11a6e5917dcae8e40d817e276d7a335b30f5..1ea3b4b4f176fc26790041b75c995621c268ab40 100644 (file)
@@ -13,12 +13,13 @@ PKG_NAME:=openswan
 PKG_VERSION:=2.4.6
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.openswan.org/download
 PKG_MD5SUM:=b34d71ca49dedad017879b0e912d40dd
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 PKG_INIT_PRIO:=60
 
 include $(INCLUDE_DIR)/package.mk
index 5cd77c833a0887eacc5313b05eabafa710070c45..2241c6f53b0fcc7e221976c2874c5d16e045e924 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=pcmcia-cs
 PKG_VERSION:=3.2.8
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=0d6d65be8896eff081aee996049afaa5
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index 64351a5ca1f345e5c55ebda317968f7a16a07337..680076857eb255c4c79985656b3e10545c88cf71 100644 (file)
@@ -11,76 +11,84 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ppp
 PKG_VERSION:=2.4.3
 PKG_RELEASE:=7
-PKG_BUILDDEP:=libpcap linux-atm
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
 PKG_MD5SUM:=848f6c3cafeb6074ffeb293c3af79b7c
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
+PKG_BUILDDEP:=libpcap linux-atm
+
 include $(INCLUDE_DIR)/package.mk
 
+define Package/ppp/Default
+  SECTION:=net
+  CATEGORY:=Network
+  URL:=http://ppp.samba.org/
+endef
+
 define Package/ppp
-SECTION:=net
-CATEGORY:=Network
-MENU:=1
-DEFAULT:=y
-DEPENDS:=+kmod-ppp
-TITLE:=PPP daemon
-DESCRIPTION:=PPP (Point-to-Point Protocol) daemon
-URL:=http://ppp.samba.org/
+  $(call Package/ppp/Default)
+  DEFAULT:=y
+  DEPENDS:=+kmod-ppp
+  TITLE:=PPP daemon
+  DESCRIPTION:=\
+       This package contains the PPP (Point-to-Point Protocol) daemon.
+  MENU:=1
 endef
 
 define Package/ppp-mod-pppoa
-SECTION:=net
-CATEGORY:=Network
-DEPENDS:=ppp +linux-atm +kmod-pppoa
-TITLE:=PPPoA plugin
-DESCRIPTION:=PPPoA (PPP over ATM) plugin for ppp
+  $(call Package/ppp/Default)
+  DEPENDS:=ppp +linux-atm +kmod-pppoa
+  TITLE:=PPPoA plugin
+  DESCRIPTION:=\
+       This package contains a PPPoA (PPP over ATM) plugin for ppp.
 endef
 
 define Package/ppp-mod-pppoe
-SECTION:=net
-CATEGORY:=Network
-DEFAULT:=y
-DEPENDS:=ppp +kmod-pppoe
-TITLE:=PPPoE plugin
-DESCRIPTION:=PPPoE (PPP over Ethernet) plugin for ppp
+  $(call Package/ppp/Default)
+  DEFAULT:=y
+  DEPENDS:=ppp +kmod-pppoe
+  TITLE:=PPPoE plugin
+  DESCRIPTION:=\
+       This package contains a PPPoE (PPP over Ethernet) plugin for ppp.
 endef
 
 define Package/ppp-mod-radius
-SECTION:=net
-CATEGORY:=Network
-DEPENDS:=ppp
-TITLE:=RADIUS plugin
-DESCRIPTION:=RADIUS (Remote Authentication Dial-In User Service) plugin for ppp
+  $(call Package/ppp/Default)
+  DEPENDS:=ppp
+  TITLE:=RADIUS plugin
+  DESCRIPTION:=\
+       This package contains a RADIUS (Remote Authentication Dial-In User \\\
+       Service) plugin for ppp.
 endef
 
 define Package/chat
-SECTION:=net
-CATEGORY:=Network
-DEPENDS:=ppp
-TITLE:=Establish conversation with a modem
-DESCRIPTION:=Utility to establish conversation with other PPP servers (via a modem)
+  $(call Package/ppp/Default)
+  DEPENDS:=ppp
+  TITLE:=Establish conversation with a modem
+  DESCRIPTION:=\
+       This package contains an utility to establish conversation with other \\\
+       PPP servers (via a modem).
 endef
 
 define Package/pppdump
-SECTION:=net
-CATEGORY:=Network
-DEPENDS:=ppp
-TITLE:=Read PPP record file
-DESCRIPTION:=Utility to read PPP record file
+  $(call Package/ppp/Default)
+  DEPENDS:=ppp
+  TITLE:=Read PPP record file
+  DESCRIPTION:=\
+       This package contains an utility to read PPP record file.
 endef
 
 define Package/pppstats
-SECTION:=net
-CATEGORY:=Network
-DEPENDS:=ppp
-TITLE:=Report PPP statistics
-DESCRIPTION:=Utility to report PPP statistics
+  $(call Package/ppp/Default)
+  DEPENDS:=ppp
+  TITLE:=Report PPP statistics
+  DESCRIPTION:=\
+       This package contains an utility to report PPP statistics.
 endef
 
 define Build/Compile
@@ -96,6 +104,9 @@ define Build/Compile
 endef
 
 define Package/ppp/install
+       install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
+       install -d -m0755 $(1)/usr/sbin
+       install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppd $(1)/usr/sbin/
        install -d -m0755 $(1)/lib/network
        install -m0755 ./files/ppp.sh $(1)/lib/network/
        install -d -m0755 $(1)/etc/ppp
@@ -107,38 +118,35 @@ define Package/ppp/install
        install -d -m0755 $(1)/etc/ppp/ip-down.d
        install -m0644 ./files/etc/ppp/options $(1)/etc/ppp/
        ln -sf /tmp/resolv.conf $(1)/etc/ppp/resolv.conf
-       install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
-       install -d -m0755 $(1)/usr/sbin
-       install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppd $(1)/usr/sbin/
 endef
        
 define Package/ppp-mod-pppoa/install
-       install -d -m0755 $(1)/lib/network
-       install -m0755 ./files/pppoa.sh $(1)/lib/network/
        install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
        install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/pppoatm.so \
                $(1)/usr/lib/pppd/$(PKG_VERSION)/
+       install -d -m0755 $(1)/lib/network
+       install -m0755 ./files/pppoa.sh $(1)/lib/network/
 endef
 
 define Package/ppp-mod-pppoe/install
-       install -d -m0755 $(1)/lib/network
-       install -m0755 ./files/pppoe.sh $(1)/lib/network/
        install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
        install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/rp-pppoe.so \
                $(1)/usr/lib/pppd/$(PKG_VERSION)/
+       install -d -m0755 $(1)/lib/network
+       install -m0755 ./files/pppoe.sh $(1)/lib/network/
 endef
 
 define Package/ppp-mod-radius/install
+       install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
+       install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/radius.so \
+               $(1)/usr/lib/pppd/$(PKG_VERSION)/
        install -d -m0755 $(1)/etc/ppp
-       install -m644 ./files/etc/ppp/radius.conf $(1)/etc/ppp/
+       install -m0644 ./files/etc/ppp/radius.conf $(1)/etc/ppp/
        install -d -m0755 $(1)/etc/ppp/radius
-       install -m644 ./files/etc/ppp/radius/dictionary* \
+       install -m0644 ./files/etc/ppp/radius/dictionary* \
                $(1)/etc/ppp/radius/
-       install -m600 ./files/etc/ppp/radius/servers \
+       install -m0600 ./files/etc/ppp/radius/servers \
                $(1)/etc/ppp/radius/
-       install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
-       install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/radius.so \
-               $(1)/usr/lib/pppd/$(PKG_VERSION)/
 endef
 
 define Package/chat/install
index b32ab0627580bd2651adc1414ff81daafc8852b8..bb0710419bf92c49b482b32a773c753f0bae47c0 100644 (file)
@@ -12,12 +12,13 @@ PKG_NAME:=pptp
 PKG_VERSION:=1.6.0
 PKG_RELEASE:=3
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/pptpclient
 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/pptp
index 1a2f7f5f19d9f83bfdbfd03ee8e9e757b10b5dc0..f4383a3f966ec6ebd13917d8e5a27e76e179f4af 100644 (file)
@@ -13,12 +13,12 @@ PKG_NAME:=shfs
 PKG_VERSION:=0.35
 PKG_RELEASE:=2
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/shfs
 PKG_MD5SUM:=016f49d71bc32eee2b5d11fc1600cfbe
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index d06343324e103435ffd4a7fdb40a3204da1ec705..643e5863f44d1a805c4d37bfc32317ff64e801c4 100644 (file)
@@ -13,12 +13,13 @@ PKG_NAME:=spca5xx
 PKG_VERSION:=20060501
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
 PKG_MD5SUM:=8fcec25715aea10f9ebec5728c37e752
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 #FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages
index e942442032f4405ccf545074b4a422679547c1d2..830ea6a6641aa7857c05a4c758e31d9f68ea336c 100644 (file)
@@ -12,7 +12,6 @@ PKG_NAME:=udev
 PKG_VERSION:=077
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
        http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
@@ -23,6 +22,7 @@ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
 PKG_MD5SUM:=61ec646daf7795e9777e8f33975408fe
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index d1a0dfbc7fd662b27550eb26f1cefb719b9e45e1..7e93fe1acd80e5b0e14b4c14a6bc397718d8b33e 100644 (file)
@@ -13,12 +13,12 @@ PKG_NAME:=ueagle-atm
 PKG_VERSION:=1.0d1
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/
 PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index 18fb251463682fbff1165f3064f4bcdb1ba1241c..8ca8052ea12844506582d0baafc511c3666fa070 100644 (file)
@@ -12,7 +12,6 @@ PKG_NAME:=util-linux
 PKG_VERSION:=2.12r
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \
        http://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \
@@ -21,6 +20,7 @@ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \
 PKG_MD5SUM:=c261230b27fc0fbcc287c76884caf2d3
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
index 064407b033ba94defd2fbad047f3ac3e8e1727b9..c19ff7613d17938977d6ad177513484936196b7a 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=wireless-tools
 PKG_VERSION:=28
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/wireless_tools.28
 PKG_SOURCE:=wireless_tools.$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
 PKG_MD5SUM:=599c94497f9c9073c7b052d3dcb7cd16
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/wireless_tools.28
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -56,8 +56,7 @@ define Build/InstallDev
 endef
        
 define Build/UninstallDev
-       rm -f \
-               $(STAGING_DIR)/usr/include/{iwlib,wireless}.h \
+       rm -f   $(STAGING_DIR)/usr/include/{iwlib,wireless}.h \
                $(STAGING_DIR)/usr/lib/libiw.so*
 endef
 
index dfb0c82f965bbc4e19bcb94f0c6e17f6306b8d11..dfb9bbb59ab8e116e53429ab003b63ea85e825a3 100644 (file)
@@ -12,32 +12,26 @@ PKG_NAME:=yamonenv
 PKG_VERSION:=20051022
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 PKG_SOURCE:=$(PKG_NAME)_gruen.4g__$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://meshcube.org/nylon/stable/sources/
 PKG_MD5SUM:=a3e4f24155aa3ba5aa502bc63fdaa6ad
 PKG_CAT:=zcat
 
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/yamonenv
-SECTION:=sys
-CATEGORY:=Base system
-DEPENDS:=@LINUX_2_6_AU1000@
-TITLE:=YAMON configuration utility
-DESCRIPTION:=YAMON bootloader configuration utility
-URL:=http://meshcube.org/nylon/stable/sources/
+  SECTION:=utils
+  CATEGORY:=Utilities
+  DEPENDS:=@LINUX_2_6_AU1000@
+  TITLE:=YAMON configuration utility
+  URL:=http://meshcube.org/nylon/stable/sources/
 endef
 
 define Build/Configure
 endef
 
-define Build/Compile
-       $(call Build/Compile/Default,all)
-endef
-
 define Package/yamonenv/install
        install -d -m0755 $(1)/usr/sbin
        $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
index 0c94cd14dfcedc800c5122836f7889b799d127e8..e5d2c2724f23c4d6beae423e0027cf53abddf391 100644 (file)
@@ -13,24 +13,26 @@ PKG_NAME:=zd1211
 PKG_VERSION:=r69
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-driver-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-driver-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=http://zd1211.ath.cx/download/
 PKG_MD5SUM:=c14133a3d5b27927402a492e84d2467a
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-driver-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 #FIXME: add proper dependency handling on kmod-usb-core packages
 define Package/kmod-zd1211
-  SECTION:=drivers
-  CATEGORY:=Drivers
+  SECTION:=kernel
+  CATEGORY:=Kernel drivers
   DEPENDS:=@LINUX_2_6&&!LINUX_2_6_UML
   TITLE:=Driver for Zydas 1211 based USB devices
-  DESCRIPTION:=Driver for Zydas 1211 based USB devices \\\
-    Linux driver for the ZyDAS ZD1211 802.11b/g USB-WLAN-Chip.\\\
-    Initially contributed by ZyDAS, this driver is actively maintained by the \\\
-    open source community.
+  DESCRIPTION:=\
+       This package contains a Linux driver for the ZyDAS ZD1211 802.11b/g \\\
+       USB-WLAN-Chip.\\\
+       Initially contributed by ZyDAS, this driver is actively maintained by the \\\
+       open source community.
   URL:=http://zd1211.ath.cx/
   VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
 endef
@@ -50,10 +52,10 @@ define Build/Compile
 endef
 
 define Package/kmod-zd1211/install
-       install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
+       install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
        $(CP) $(PKG_BUILD_DIR)/zd1211.$(LINUX_KMOD_SUFFIX) \
                $(1)/lib/modules/$(LINUX_VERSION)/
-       install -m0755 -d $(1)/usr/sbin
+       install -d -m0755 $(1)/usr/sbin
        $(CP) $(PKG_BUILD_DIR)/apdbg $(1)/usr/sbin/
        $(CP) $(PKG_BUILD_DIR)/sta $(1)/usr/sbin/$(PKG_NAME)-sta
 endef
index 681af85c74e9d66351b246f6c4247cb5589d4cb9..df4a4753ff8707f014e645b034389dee72d3c501 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=zlib
 PKG_VERSION:=1.2.3
 PKG_RELEASE:=3
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.zlib.net @SF/zlib
 PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6
 PKG_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -61,8 +61,7 @@ define Build/InstallDev
 endef
        
 define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/z{conf,lib}.h \
+       rm -rf  $(STAGING_DIR)/usr/include/z{conf,lib}.h \
                $(STAGING_DIR)/usr/lib/libz.{a,so*}
 endef
 
index eebf7a2c88e4b86ae413f58dc809fd8bd579c051..dd60a7eb9a520b47b4f7997fcbef476b1dc34234 100644 (file)
@@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=genext2fs
 PKG_VERSION:=1.4rc1
 
-PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=664431bf6737df1c265500e1f0b5d40c
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/host-build.mk
 
 define Build/Configure
@@ -45,7 +46,12 @@ define Build/Compile
 endef
 
 define Build/Install
+       mkdir -p $(STAGING_DIR)/bin
        install -m0755 $(PKG_BUILD_DIR)/genext2fs $(STAGING_DIR)/bin/
 endef
 
+define Build/Clean
+       rm -f $(STAGING_DIR)/bin/genext2fs
+endef
+
 $(eval $(call HostBuild))
index 4520af176e6434832a2f075b1eabc79ce4bd3228..06bb2adc0bff9cbc3cb6d0a49d8d5f709dccd4ec 100644 (file)
@@ -6,15 +6,15 @@
 #
 include $(TOPDIR)/rules.mk
 
-PKG_NAME := ipkg-utils
-PKG_VERSION := 1.7
+PKG_NAME:=ipkg-utils
+PKG_VERSION:=1.7
 
-PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_MD5SUM := da3e3ef772973d7370a6ac95f0fef9b8
-PKG_SOURCE_URL := http://handhelds.org/packages/ipkg-utils/
-PKG_CAT := zcat
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://handhelds.org/packages/ipkg-utils/
+PKG_MD5SUM:=da3e3ef772973d7370a6ac95f0fef9b8
+PKG_CAT:=zcat
 
-PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/host-build.mk
 
@@ -23,16 +23,15 @@ define Build/Install
        echo "dest root /" > $(STAGING_DIR)/etc/ipkg.conf
        echo "option offline_root $(TARGET_DIR)" >> $(STAGING_DIR)/etc/ipkg.conf
        mkdir -p $(STAGING_DIR)/usr/bin
-       install -m0755 $(PKG_BUILD_DIR)/ipkg-build $(STAGING_DIR)/usr/bin
-       install -m0755 $(PKG_BUILD_DIR)/ipkg-buildpackage $(STAGING_DIR)/usr/bin
-       install -m0755 $(PKG_BUILD_DIR)/ipkg-make-index $(STAGING_DIR)/usr/bin
-       install -m0755 $(PKG_BUILD_DIR)/ipkg.py $(STAGING_DIR)/usr/bin
+       install -m0755 $(PKG_BUILD_DIR)/ipkg-build $(STAGING_DIR)/usr/bin/
+       install -m0755 $(PKG_BUILD_DIR)/ipkg-buildpackage $(STAGING_DIR)/usr/bin/
+       install -m0755 $(PKG_BUILD_DIR)/ipkg-make-index $(STAGING_DIR)/usr/bin/
+       install -m0755 $(PKG_BUILD_DIR)/ipkg.py $(STAGING_DIR)/usr/bin/
 endef
 
 define Build/Clean
        rm -f $(STAGING_DIR)/etc/ipkg.conf
        rm -f $(STAGING_DIR)/usr/bin/ipkg*
-       rm -rf $(PKG_BUILD_DIR)
 endef
 
 $(eval $(call HostBuild))
index 93e2589c2023afa50e194d8ad3b781f3c8a7613a..a0a26776f745335bf753f2ee14262a29a49f2cc8 100644 (file)
@@ -10,20 +10,25 @@ PKG_NAME:=mtd
 PKG_VERSION:=20050122
 
 PKG_SOURCE=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
-PKG_MD5SUM:=1f42c2cae08eb9e7b52d0c188f8d6338
 PKG_SOURCE_URL=http://ftp.debian.org/debian/pool/main/m/mtd
+PKG_MD5SUM:=1f42c2cae08eb9e7b52d0c188f8d6338
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mtd-20050122.orig
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
 
 include $(INCLUDE_DIR)/host-build.mk
 
 define Build/Compile
-       $(MAKE) LINUXDIR=$(LINUX_HEADERS_DIR) -C $(PKG_BUILD_DIR)/util
+       $(MAKE) -C $(PKG_BUILD_DIR)/util LINUXDIR=$(LINUX_HEADERS_DIR)
 endef
 
 define Build/Install
+       mkdir -p $(STAGING_DIR)/bin
        $(CP) $(PKG_BUILD_DIR)/util/mkfs.jffs2 $(STAGING_DIR)/bin/
 endef
 
+define Build/Clean
+       rm -f $(STAGING_DIR)/bin/mkfs.jffs2
+endef
+
 $(eval $(call HostBuild))
index da525d5f3763eb13b95906f974a41ab3d8c7cac0..42791f1e1db6a9c76ef4494b3d406ef357fea316 100644 (file)
@@ -10,12 +10,12 @@ PKG_NAME=kernel-headers
 PKG_VERSION=2.4.32
 
 PKG_SOURCE=linux-$(PKG_VERSION).tar.bz2
-PKG_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
 PKG_SOURCE_URL= \
                http://www.de.kernel.org/pub/linux/kernel/v2.4 \
                http://www.fi.kernel.org/pub/linux/kernel/v2.4 \
                http://www.fr.kernel.org/pub/linux/kernel/v2.4 \
                http://www.kernel.org/pub/linux/kernel/v2.4
+PKG_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
 
 PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/linux-$(PKG_VERSION)
 
index bc515ca0800df470494876a99a6ff4b75d889384..d55bf4e3fe3b4e68fca9f330849e1b3b3f03fcd0 100644 (file)
@@ -6,8 +6,9 @@
 #
 include $(TOPDIR)/rules.mk
 
-PKG_NAME := libnotimpl
-PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/libnotimpl
+PKG_NAME:=libnotimpl
+
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/libnotimpl
 
 include $(INCLUDE_DIR)/host-build.mk
 
@@ -31,9 +32,7 @@ define Build/Install
 endef
 
 define Build/Clean
-       rm -rf \
-               $(STAGING_DIR)/usr/lib/libnotimpl.a \
-               $(PKG_BUILD_DIR)
+       rm -f $(STAGING_DIR)/usr/lib/libnotimpl.a
 endef
 
 $(eval $(call HostBuild))
index ab8fea0e6a839058cbe117a2db0327133e26f790..47f21d1f07fd44d2936e6344e6becc3e09f9f823 100644 (file)
@@ -6,14 +6,14 @@
 #
 include $(TOPDIR)/rules.mk
 
-PKG_NAME := lzma
-PKG_VERSION := 432
+PKG_NAME:=lzma
+PKG_VERSION:=432
 
-PKG_SOURCE := $(PKG_NAME)$(PKG_VERSION).tar.bz2
-PKG_MD5SUM := 155c1ebce5bc6710ae7ecc926226d9d7
-PKG_SOURCE_URL := @SF/sevenzip
+PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=@SF/sevenzip
+PKG_MD5SUM:=155c1ebce5bc6710ae7ecc926226d9d7
 
-PKG_BUILD_DIR=$(TOOL_BUILD_DIR)/lzma-$(PKG_VERSION)/lzma
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/lzma
 
 include $(INCLUDE_DIR)/host-build.mk
 
@@ -33,11 +33,12 @@ endef
 define Build/Install
        mkdir -p $(STAGING_DIR)/host/lib
        $(CP) $(LIB_DIR)/liblzma.a $(STAGING_DIR)/host/lib/
+       mkdir -p $(STAGING_DIR)/bin
        $(CP) $(ALONE_DIR)/lzma $(STAGING_DIR)/bin/
 endef
 
 define Build/Clean
-       rm -f $(PKG_BUILD_DIR)/liblzma.a $(PKG_BUILD_DIR)/lzma
+       rm -f $(STAGING_DIR)/host/lib/liblzma.a $(STAGING_DIR)/bin/lzma
 endef
 
 $(eval $(call HostBuild))
index ec27e2716ad29ae92e8b69e4480022a8f926ce75..71285d2e1af9c2bb5992b29422707d48a8e433a1 100644 (file)
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/host-build.mk
 
-PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/mkimage
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mkimage
 
 define Build/Compile
        $(CC) -O -c src/crc32.c -o $(PKG_BUILD_DIR)/crc32.o
@@ -16,7 +16,8 @@ define Build/Compile
 endef
 
 define Build/Install
-       $(CP) $(PKG_BUILD_DIR)/mkimage $(STAGING_DIR)/bin
+       mkdir -p $(STAGING_DIR)/bin
+       $(CP) $(PKG_BUILD_DIR)/mkimage $(STAGING_DIR)/bin/
 endef
 
 define Build/Clean
index fdeeeea2ab21f6b03deda20ac4d78ff71b4e6c59..b3169918b4ff959dc9629adddac0838a97694d2b 100644 (file)
@@ -6,14 +6,15 @@
 #
 include $(TOPDIR)/rules.mk
 
-PKG_NAME := sed
-PKG_VERSION := 4.1.2
+PKG_NAME:=sed
+PKG_VERSION:=4.1.2
+
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/$(PKG_NAME)
 PKG_MD5SUM:=928f0e06422f414091917401f1a834d0
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sed-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 
 HOST_SED_TARGET=$(strip $(shell ./sedcheck.sh))
 
index ac5edd996710b16a531974221984be2ea2944d6e..8e37a15215d81743e0828a7b3a318ba861c250a5 100644 (file)
@@ -6,15 +6,15 @@
 #
 include $(TOPDIR)/rules.mk
 
-PKG_NAME := squashfs
-PKG_VERSION := 3.0
+PKG_NAME:=squashfs
+PKG_VERSION:=3.0
 
-PKG_SOURCE := $(PKG_NAME)$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL := @SF/squashfs
-PKG_MD5SUM := 9fd05d0bfbb712f5fb95edafea5bc733
-PKG_CAT := zcat
+PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/squashfs
+PKG_MD5SUM:=9fd05d0bfbb712f5fb95edafea5bc733
+PKG_CAT:=zcat
 
-PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/squashfs$(PKG_VERSION)
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/host-build.mk
 
@@ -23,7 +23,12 @@ define Build/Compile
 endef
 
 define Build/Install
+       mkdir -p $(STAGING_DIR)/bin
        $(CP) $(PKG_BUILD_DIR)/squashfs-tools/mksquashfs-lzma $(STAGING_DIR)/bin/
 endef
 
+define Build/Clean
+       rm -f $(STAGING_DIR)/bin/mksquashfs-lzma
+endef
+
 $(eval $(call HostBuild))
index 49983e9129fc19cd645196100832ba2ab2952c6e..dc3ff4f6da5cc8405222c01c955e6c7549240ec9 100644 (file)
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/host-build.mk
 
-PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/sstrip
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip
 
 OS:=$(shell uname)
 ifeq ($(OS),Darwin)
-CFLAGS += -I./include
+  CFLAGS += -I./include
 endif
 
 define Build/Compile
@@ -19,7 +19,8 @@ define Build/Compile
 endef
 
 define Build/Install
-       $(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR)/bin
+       mkdir -p $(STAGING_DIR)/bin
+       $(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR)/bin/
 endef
 
 define Build/Clean