normalize Makefiles.

SVN-Revision: 3998
lede-17.01
Nicolas Thill 2006-06-18 18:30:40 +00:00
parent f24397711b
commit b65701e887
19 changed files with 218 additions and 250 deletions

View File

@ -23,12 +23,12 @@ endif
CONFIG_PACKAGE_base-files$(TARGET):=$(CONFIG_PACKAGE_base-files) CONFIG_PACKAGE_base-files$(TARGET):=$(CONFIG_PACKAGE_base-files)
define Package/base-files$(TARGET) define Package/base-files$(TARGET)
SECTION:=base SECTION:=base
CATEGORY:=Base system CATEGORY:=Base system
DEFAULT:=y DEFAULT:=y
TITLE:=OpenWrt system scripts TITLE:=OpenWrt system scripts
DESCRIPTION:=Base filesystem for OpenWrt DESCRIPTION:=Base filesystem for OpenWrt
VERSION:=$(PKG_RELEASE) VERSION:=$(PKG_RELEASE)
endef endef
define -ar7-2.4/conffiles define -ar7-2.4/conffiles
@ -74,19 +74,19 @@ $(call $(TARGET)/conffiles)
endef endef
define Package/libgcc define Package/libgcc
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
DEFAULT:=y DEFAULT:=y
TITLE:=GCC support library TITLE:=GCC support library
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE) VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
DESCRIPTION:=$(TITLE) DESCRIPTION:=$(TITLE)
endef endef
define Package/uclibc define Package/uclibc
$(call Package/base-files$(TARGET)) $(call Package/base-files$(TARGET))
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE) VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
TITLE:=C library TITLE:=C library
DESCRIPTION:=C library for embedded systems DESCRIPTION:=C library for embedded systems
endef endef
define Build/Prepare define Build/Prepare

View File

@ -8,23 +8,23 @@ PKG_VERSION:=2.5.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/kmod-fuse define Package/kmod-fuse
SECTION:=drivers SECTION:=drivers
CATEGORY:=Drivers CATEGORY:=Drivers
DEPENDS:= DEPENDS:=
TITLE:=FUSE (Filesystem in UserSpacE) TITLE:=FUSE (Filesystem in UserSpacE)
DESCRIPTION:=FUSE (Filesystem in UserSpacE) DESCRIPTION:=FUSE (Filesystem in UserSpacE)
URL:=http://fuse.sourceforge.net/ URL:=http://fuse.sourceforge.net/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Build/Configure define Build/Configure
@ -81,6 +81,25 @@ define Build/Compile
all install all install
endef endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/fuse{,.h} \
$(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse.{a,so*} \
$(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fuse.pc $(STAGING_DIR)/usr/lib/pkgconfig/
$(SED) 's,-I$${includedir}/fuse,,g' $(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc
$(SED) 's,-L$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc
endef
define Build/UninstallDev
rm -rf $(STAGING_DIR)/usr/include/fuse{,.h} \
$(STAGING_DIR)/usr/lib/libfuse.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc
endef
define Package/kmod-fuse/install define Package/kmod-fuse/install
install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION) install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX) \ $(CP) $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX) \
@ -91,28 +110,4 @@ define Package/kmod-fuse/install
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fusermount $(1)/usr/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/bin/fusermount $(1)/usr/bin/
endef endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/fuse $(STAGING_DIR)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/fuse.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse.a $(STAGING_DIR)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse.so* $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fuse.pc $(STAGING_DIR)/usr/lib/pkgconfig/
$(SED) 's,-I$${includedir}/fuse,,g' $(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc
$(SED) 's,-L$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc
endef
define Build/UninstallDev
rm -rf \
$(STAGING_DIR)/usr/include/fuse \
$(STAGING_DIR)/usr/include/fuse.h \
$(STAGING_DIR)/usr/lib/libfuse.a \
$(STAGING_DIR)/usr/lib/libfuse.so* \
$(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc
endef
$(eval $(call BuildPackage,kmod-fuse)) $(eval $(call BuildPackage,kmod-fuse))

View File

@ -8,21 +8,21 @@ PKG_VERSION:=0.4.9
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378 PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/kmod-hostap define Package/kmod-hostap
SECTION:=drivers SECTION:=drivers
CATEGORY:=Drivers CATEGORY:=Drivers
DEPENDS:=@LINUX_2_4_BRCM||LINUX_2_4_X86 DEPENDS:=@LINUX_2_4_BRCM||LINUX_2_4_X86
TITLE:=Host AP support for Prism2/2.5/3 IEEE 802.11b TITLE:=Host AP support for Prism2/2.5/3 IEEE 802.11b
DESCRIPTION:=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 \\\ 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 \\\ chipset. This driver supports so called Host AP mode that allows the card \\\
to act as an IEEE 802.11 access point. \\\ to act as an IEEE 802.11 access point. \\\
@ -30,28 +30,22 @@ to act as an IEEE 802.11 access point. \\\
This option includes the base Host AP driver code that is shared by \\\ This option includes the base Host AP driver code that is shared by \\\
different hardware models. You will also need to enable support for \\\ different hardware models. You will also need to enable support for \\\
PLX/PCI/CS version of the driver to actually use the driver. \\\ PLX/PCI/CS version of the driver to actually use the driver. \\\
URL:=http://hostap.epitest.fi/ URL:=http://hostap.epitest.fi/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Package/kmod-hostap-pci define Package/kmod-hostap-pci
SECTION:=drivers $(call Package/kmod-hostap)
CATEGORY:=Drivers DEPENDS:=kmod-hostap
DEPENDS:=kmod-hostap TITLE:=Host AP driver for Prism2.5 PCI adaptors
TITLE:=Host AP driver for Prism2.5 PCI adaptors DESCRIPTION:=Host AP driver for Prism2.5 PCI adaptors
DESCRIPTION:=Host AP driver for Prism2.5 PCI adaptors
URL:=http://hostap.epitest.fi/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Package/kmod-hostap-plx define Package/kmod-hostap-plx
SECTION:=drivers $(call Package/kmod-hostap)
CATEGORY:=Drivers DEPENDS:=kmod-hostap
DEPENDS:=kmod-hostap TITLE:=Host AP driver for Prism2/2.5/3 in PLX9052 based PCI adaptors
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
DESCRIPTION:=Host AP driver for Prism2/2.5/3 in PLX9052 based PCI adaptors
URL:=http://hostap.epitest.fi/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef

View File

@ -74,11 +74,11 @@ endef
define Package/ipsec-tools/install define Package/ipsec-tools/install
install -d -m0755 $(1)/etc install -d -m0755 $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/src/racoon/samples/racoon.conf $(1)/etc/
install -d -m0755 $(1)/usr/lib/ install -d -m0755 $(1)/usr/lib/
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/racoon/samples/racoon.conf $(1)/etc/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libipsec.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libipsec.so.* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libracoon.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libracoon.so.* $(1)/usr/lib/
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/plainrsa-gen $(1)/usr/sbin/ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/plainrsa-gen $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoon $(1)/usr/sbin/ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoon $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoonctl $(1)/usr/sbin/ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoonctl $(1)/usr/sbin/

View File

@ -6,7 +6,7 @@ PKG_NAME:=ipset
PKG_VERSION:=2.2.3 PKG_VERSION:=2.2.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/ipset-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2
PKG_SOURCE_URL:=http://ipset.netfilter.org PKG_SOURCE_URL:=http://ipset.netfilter.org
PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26 PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26

View File

@ -50,7 +50,6 @@ Includes: \\\
* libipt_conntrack \\\ * libipt_conntrack \\\
* libipt_helper \\\ * libipt_helper \\\
* libipt_connmark/CONNMARK * libipt_connmark/CONNMARK
endef endef
define Package/iptables-mod-filter define Package/iptables-mod-filter
@ -62,7 +61,6 @@ DESCRIPTION:=iptables extensions for packet content inspection\\\
Includes: \\\ Includes: \\\
* libipt_ipp2p \\\ * libipt_ipp2p \\\
* libipt_layer7 * libipt_layer7
endef endef
define Package/iptables-mod-imq define Package/iptables-mod-imq
@ -73,7 +71,6 @@ TITLE:=IMQ support
DESCRIPTION:=iptables extension for IMQ support\\\ DESCRIPTION:=iptables extension for IMQ support\\\
Includes: \\\ Includes: \\\
* libipt_IMQ * libipt_IMQ
endef endef
define Package/iptables-mod-ipopt define Package/iptables-mod-ipopt
@ -91,7 +88,6 @@ Includes: \\\
* libipt_tcpmms \\\ * libipt_tcpmms \\\
* libipt_ttl/TTL \\\ * libipt_ttl/TTL \\\
* libipt_unclean * libipt_unclean
endef endef
define Package/iptables-mod-ipsec define Package/iptables-mod-ipsec
@ -103,7 +99,6 @@ DESCRIPTION:=iptables extensions for matching ipsec traffic\\\
Includes: \\\ Includes: \\\
* libipt_ah \\\ * libipt_ah \\\
* libipt_esp * libipt_esp
endef endef
define Package/iptables-mod-nat define Package/iptables-mod-nat
@ -138,7 +133,6 @@ Includes: \\\
* libipt_physdev \\\ * libipt_physdev \\\
* libipt_pkttype \\\ * libipt_pkttype \\\
* libipt_recent * libipt_recent
endef endef
define Package/iptables-utils define Package/iptables-utils

View File

@ -17,11 +17,11 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/libpcap define Package/libpcap
SECTION:=base SECTION:=base
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=Low-level packet capture library TITLE:=Low-level packet capture library
DESCRIPTION:=A system-independent library for user-level network packet capture. DESCRIPTION:=A system-independent library for user-level network packet capture.
URL:=http://www.tcpdump.org/ URL:=http://www.tcpdump.org/
endef endef
define Build/Configure define Build/Configure
@ -69,29 +69,23 @@ define Build/Compile
all install all install
endef endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/pcap{,-bpf,-namedb}.h \
$(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.{a,so*} \
$(STAGING_DIR)/usr/lib/
endef
define Build/UninstallDev
rm -rf $(STAGING_DIR)/usr/include/pcap{,-bpf,-named}.h \
$(STAGING_DIR)/usr/lib/libpcap.{a,so*}
endef
define Package/libpcap/install define Package/libpcap/install
install -m0755 -d $(1)/usr/lib install -m0755 -d $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.so.* $(1)/usr/lib/
endef endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/pcap.h \
$(PKG_INSTALL_DIR)/usr/include/pcap-bpf.h \
$(PKG_INSTALL_DIR)/usr/include/pcap-namedb.h \
$(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.a \
$(PKG_INSTALL_DIR)/usr/lib/libpcap.so* \
$(STAGING_DIR)/usr/lib/
endef
define Build/UninstallDev
rm -rf $(STAGING_DIR)/usr/include/pcap.h \
$(STAGING_DIR)/usr/include/pcap-bpf.h \
$(STAGING_DIR)/usr/include/pcap-namedb.h \
$(STAGING_DIR)/usr/lib/libpcap.a \
$(STAGING_DIR)/usr/lib/libpcap.so*
endef
$(eval $(call BuildPackage,libpcap)) $(eval $(call BuildPackage,libpcap))

View File

@ -8,22 +8,21 @@ PKG_VERSION:=0.6.2pre1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=acd12157be25d7b3c8df90914049403e PKG_MD5SUM:=acd12157be25d7b3c8df90914049403e
PKG_BUILD_DIR:=$(BUILD_DIR)/mini_fo-0-6-2-pre1
PKG_SOURCE_URL:=http://www.denx.de/twiki/pub/Know/MiniFOHome/ PKG_SOURCE_URL:=http://www.denx.de/twiki/pub/Know/MiniFOHome/
PKG_SOURCE:=mini_fo-0-6-2-pre1.tar.bz2 PKG_SOURCE:=mini_fo-0-6-2-pre1.tar.bz2
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/mini_fo-0-6-2-pre1
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/kmod-mini-fo define Package/kmod-mini-fo
SECTION:=drivers SECTION:=drivers
CATEGORY:=Drivers CATEGORY:=Drivers
DEPENDS:= DEPENDS:=
TITLE:=The mini fanout overlay file system TITLE:=The mini fanout overlay file system
DESCRIPTION:=The mini fanout overlay file system DESCRIPTION:=The mini fanout overlay file system
URL:=http://www.denx.de/wiki/Know.MiniFOHome URL:=http://www.denx.de/wiki/Know.MiniFOHome
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Build/Compile define Build/Compile

View File

@ -22,20 +22,19 @@ define Build/Prepare
endef endef
define Package/nvram/install define Package/nvram/install
install -d -m0755 $(1)/usr/lib install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
install -d -m0755 $(1)/usr/sbin install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/*.so $(1)/usr/lib install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/
install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin
endef endef
define Build/InstallDev define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/lib mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(STAGING_DIR)/usr/lib/
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -f $(STAGING_DIR)/usr/lib/libshared*.so \ rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so
$(STAGING_DIR)/usr/lib/libnvram*.so
endef endef
$(eval $(call BuildPackage,nvram)) $(eval $(call BuildPackage,nvram))

View File

@ -8,23 +8,22 @@ PKG_VERSION:=2.4.5
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=a9a8e88313faceebfc5ceb1a9da9a3c4 PKG_MD5SUM:=a9a8e88313faceebfc5ceb1a9da9a3c4
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://www.openswan.org/download PKG_SOURCE_URL:=http://www.openswan.org/download
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/kmod-openswan define Package/kmod-openswan
SECTION:=drivers SECTION:=drivers
CATEGORY:=Drivers CATEGORY:=Drivers
DEPENDS:= DEPENDS:=
TITLE:=Openswan kernel module TITLE:=Openswan kernel module
DESCRIPTION:=Openswan kernel module \\\ DESCRIPTION:=Openswan kernel module \\\
Openswan is an implementation of IPsec for Linux. Openswan is an implementation of IPsec for Linux.
URL:=http://www.openswan.org/ URL:=http://www.openswan.org/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Build/Compile define Build/Compile

View File

@ -18,65 +18,64 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/ppp define Package/ppp
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
MENU:=1 MENU:=1
DEFAULT:=y DEFAULT:=y
TITLE:=PPP daemon TITLE:=PPP daemon
DESCRIPTION:=PPP (Point-to-Point Protocol) daemon DESCRIPTION:=PPP (Point-to-Point Protocol) daemon
URL:=http://ppp.samba.org/ URL:=http://ppp.samba.org/
endef endef
define Package/ppp-mod-pppoa define Package/ppp-mod-pppoa
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=ppp +linux-atm DEPENDS:=ppp +linux-atm
TITLE:=PPPoA plugin TITLE:=PPPoA plugin
DESCRIPTION:=PPPoA (PPP over ATM) plugin for ppp DESCRIPTION:=PPPoA (PPP over ATM) plugin for ppp
endef endef
define Package/ppp-mod-pppoe define Package/ppp-mod-pppoe
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEFAULT:=y DEFAULT:=y
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=PPPoE plugin TITLE:=PPPoE plugin
DESCRIPTION:=PPPoE (PPP over Ethernet) plugin for ppp DESCRIPTION:=PPPoE (PPP over Ethernet) plugin for ppp
endef endef
define Package/ppp-mod-radius define Package/ppp-mod-radius
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=RADIUS plugin TITLE:=RADIUS plugin
DESCRIPTION:=RADIUS (Remote Authentication Dial-In User Service) plugin for ppp DESCRIPTION:=RADIUS (Remote Authentication Dial-In User Service) plugin for ppp
endef endef
define Package/chat define Package/chat
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=Establish conversation with a modem TITLE:=Establish conversation with a modem
DESCRIPTION:=Utility to establish conversation with other PPP servers (via a modem) DESCRIPTION:=Utility to establish conversation with other PPP servers (via a modem)
endef endef
define Package/pppdump define Package/pppdump
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=Read PPP record file TITLE:=Read PPP record file
DESCRIPTION:=Utility to read PPP record file DESCRIPTION:=Utility to read PPP record file
endef endef
define Package/pppstats define Package/pppstats
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=Report PPP statistics TITLE:=Report PPP statistics
DESCRIPTION:=Utility to report PPP statistics DESCRIPTION:=Utility to report PPP statistics
endef endef
define Build/Compile define Build/Compile
rm -rf $(PKG_INSTALL_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)/usr mkdir -p $(PKG_INSTALL_DIR)/usr

View File

@ -23,11 +23,11 @@ URL:=http://pptpclient.sourceforge.net/
endef endef
define Package/pptp/install define Package/pptp/install
install -d -m0755 $(1)/sbin
install -d -m0755 $(1)/etc/ppp install -d -m0755 $(1)/etc/ppp
install -d -m0755 $(1)/usr/sbin
install -m0755 ./files/ifup.pptp $(1)/sbin/ifup.pptp
install -m0644 ./files/options.pptp $(1)/etc/ppp/ install -m0644 ./files/options.pptp $(1)/etc/ppp/
install -d -m0755 $(1)/sbin
install -m0755 ./files/ifup.pptp $(1)/sbin/
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/ install -m0755 $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
endef endef

View File

@ -8,27 +8,27 @@ PKG_VERSION:=0.35
PKG_RELEASE:=2 PKG_RELEASE:=2
PKG_MD5SUM:=016f49d71bc32eee2b5d11fc1600cfbe PKG_MD5SUM:=016f49d71bc32eee2b5d11fc1600cfbe
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=@SF/shfs PKG_SOURCE_URL:=@SF/shfs
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/kmod-shfs define Package/kmod-shfs
SECTION:=drivers SECTION:=drivers
CATEGORY:=Drivers CATEGORY:=Drivers
DEPENDS:= DEPENDS:=
TITLE:=Shell FileSystem (ShFS) TITLE:=Shell FileSystem (ShFS)
DESCRIPTION:=Shell FileSystem (ShFS) \\\ DESCRIPTION:=Shell FileSystem (ShFS) \\\
ShFS is a simple and easy to use Linux kernel module which allows you to \\\ ShFS is a simple and easy to use Linux kernel module which allows you to \\\
mount remote filesystems using a plain shell (SSH) connection. When using \\\ mount remote filesystems using a plain shell (SSH) connection. When using \\\
ShFS, you can access all remote files just like the local ones, only the \\\ ShFS, you can access all remote files just like the local ones, only the \\\
access is governed through the transport security of SSH. access is governed through the transport security of SSH.
URL:=http://shfs.sourceforge.net/ URL:=http://shfs.sourceforge.net/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Build/Compile define Build/Compile

View File

@ -8,23 +8,22 @@ PKG_VERSION:=20060301
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=4160e03c408ac254111febacf058b88a PKG_MD5SUM:=4160e03c408ac254111febacf058b88a
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/ PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
#FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages #FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages
define Package/kmod-spca5xx define Package/kmod-spca5xx
SECTION:=drivers SECTION:=drivers
CATEGORY:=Drivers CATEGORY:=Drivers
DEPENDS:=@PACKAGE_KMOD_USB&&PACKAGE_KMOD_VIDEODEV DEPENDS:=@PACKAGE_KMOD_USB&&PACKAGE_KMOD_VIDEODEV
TITLE:=Driver for SPCA5xx based USB cameras TITLE:=Driver for SPCA5xx based USB cameras
DESCRIPTION:=Driver for SPCA5xx based USB cameras DESCRIPTION:=Driver for SPCA5xx based USB cameras
URL:=http://mxhaard.free.fr/ URL:=http://mxhaard.free.fr/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Build/Compile define Build/Compile

View File

@ -3,12 +3,22 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
include $(TOPDIR)/package/kernel.mk include $(TOPDIR)/package/kernel.mk
PKG_NAME := kmod-switch PKG_NAME:=kmod-switch
PKG_RELEASE := 1 PKG_RELEASE:=1
PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
define Package/kmod-switch
SECTION:=drivers
CATEGORY:=Drivers
DEPENDS:=@LINUX_2_6_BRCM||LINUX_2_4_BRCM
DEFAULT:=y
TITLE:=Switch drivers
DESCRIPTION:=Switch drivers for ADM6996L and BCM53XX RoboSwitch
VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef
define Build/Prepare define Build/Prepare
mkdir -p $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR)
@ -25,16 +35,6 @@ define Build/Compile
modules modules
endef endef
define Package/kmod-switch
SECTION:=drivers
CATEGORY:=Drivers
DEPENDS:=@LINUX_2_6_BRCM||LINUX_2_4_BRCM
DEFAULT:=y
TITLE:=Switch drivers
DESCRIPTION:=Switch drivers for ADM6996L and BCM53XX RoboSwitch
VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef
define Package/kmod-switch/install define Package/kmod-switch/install
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION) install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_BUILD_DIR)/*.$(LINUX_KMOD_SUFFIX) \ $(CP) $(PKG_BUILD_DIR)/*.$(LINUX_KMOD_SUFFIX) \

View File

@ -8,24 +8,24 @@ PKG_VERSION:=1.0d1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/ PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
#FIXME: add dependency on kmod-usb-core #FIXME: add dependency on kmod-usb-core
define Package/kmod-ueagle-atm define Package/kmod-ueagle-atm
SECTION:=drivers SECTION:=drivers
CATEGORY:=Drivers CATEGORY:=Drivers
DEPENDS:=@LINUX_2_6_BRCM DEPENDS:=@LINUX_2_6_BRCM @PACKAGE_KMOD_USB
TITLE:=Driver for Eagle 8051 based USB ADSL modems TITLE:=Driver for Eagle 8051 based USB ADSL modems
DESCRIPTION:=Driver for Eagle 8051 based USB ADSL modems DESCRIPTION:=Driver for Eagle 8051 based USB ADSL modems
URL:=http://www.eagle-usb.org/ URL:=http://www.eagle-usb.org/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Build/Compile define Build/Compile

View File

@ -26,10 +26,11 @@ URL:=http://hplabs.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
endef endef
define Build/Compile define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -I." \ CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -I." \
libiw.so.28 iwmulticall libiw.so.28 iwmulticall
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
PREFIX="$(PKG_INSTALL_DIR)" \ PREFIX="$(PKG_INSTALL_DIR)" \
INSTALL_DIR="$(PKG_INSTALL_DIR)/usr/sbin" \ INSTALL_DIR="$(PKG_INSTALL_DIR)/usr/sbin" \
@ -37,23 +38,24 @@ define Build/Compile
install-iwmulticall install-iwmulticall
endef endef
define Package/wireless-tools/install
install -d -m0755 $(1)/usr/lib
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/libiw.so.28 $(1)/usr/lib/
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(1)/usr/sbin/
endef
define Build/InstallDev define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/{lib,include} mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_BUILD_DIR)/{iwlib,wireless}.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libiw.so* $(STAGING_DIR)/usr/lib/ $(CP) $(PKG_BUILD_DIR)/libiw.so* $(STAGING_DIR)/usr/lib/
ln -sf libiw.so.28 $(STAGING_DIR)/usr/lib/libiw.so ln -sf libiw.so.28 $(STAGING_DIR)/usr/lib/libiw.so
$(CP) $(PKG_BUILD_DIR)/{iwlib,wireless}.h $(STAGING_DIR)/usr/include/
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -f $(STAGING_DIR)/usr/lib/libiw.* 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
define Package/wireless-tools/install
install -d -m0755 $(1)/usr/lib
install -m0755 $(PKG_BUILD_DIR)/libiw.so.28 $(1)/usr/lib/
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(1)/usr/sbin/
endef endef
$(eval $(call BuildPackage,wireless-tools)) $(eval $(call BuildPackage,wireless-tools))

View File

@ -8,25 +8,25 @@ PKG_VERSION:=r69
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=c14133a3d5b27927402a492e84d2467a PKG_MD5SUM:=c14133a3d5b27927402a492e84d2467a
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-driver-$(PKG_VERSION)
PKG_SOURCE_URL:=http://zd1211.ath.cx/download/ PKG_SOURCE_URL:=http://zd1211.ath.cx/download/
PKG_SOURCE:=$(PKG_NAME)-driver-$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NAME)-driver-$(PKG_VERSION).tgz
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-driver-$(PKG_VERSION)
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
#FIXME: add proper dependency handling on kmod-usb-core packages
define Package/kmod-zd1211 define Package/kmod-zd1211
SECTION:=drivers SECTION:=drivers
CATEGORY:=Drivers CATEGORY:=Drivers
DEPENDS:=@LINUX_2_6 DEPENDS:=@LINUX_2_6
TITLE:=Driver for Zydas 1211 based USB devices TITLE:=Driver for Zydas 1211 based USB devices
DESCRIPTION:=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.\\\ Linux driver for the ZyDAS ZD1211 802.11b/g USB-WLAN-Chip.\\\
Initially contributed by ZyDAS, this driver is actively maintained by the \\\ Initially contributed by ZyDAS, this driver is actively maintained by the \\\
open source community. open source community.
URL:=http://zd1211.ath.cx/ URL:=http://zd1211.ath.cx/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef endef
define Build/Compile define Build/Compile
@ -54,4 +54,3 @@ define Package/kmod-zd1211/install
endef endef
$(eval $(call BuildPackage,kmod-zd1211)) $(eval $(call BuildPackage,kmod-zd1211))

View File

@ -8,8 +8,7 @@ PKG_RELEASE:=3
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.zlib.net \ PKG_SOURCE_URL:=http://www.zlib.net @SF/zlib
@SF/zlib
PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6 PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6
PKG_CAT:=bzcat PKG_CAT:=bzcat
@ -47,27 +46,23 @@ define Build/Compile
install install
endef endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/z{conf,lib}.h \
$(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.{a,so*} \
$(STAGING_DIR)/usr/lib/
endef
define Build/UninstallDev
rm -rf $(STAGING_DIR)/usr/include/z{conf,lib}.h \
$(STAGING_DIR)/usr/lib/libz.{a,so*}
endef
define Package/zlib/install define Package/zlib/install
install -m0755 -d $(1)/usr/lib install -m0755 -d $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(1)/usr/lib/
endef endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/zconf.h \
$(PKG_INSTALL_DIR)/usr/include/zlib.h \
$(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.a \
$(PKG_INSTALL_DIR)/usr/lib/libz.so* \
$(STAGING_DIR)/usr/lib/
endef
define Build/UninstallDev
rm -rf $(STAGING_DIR)/usr/include/zconf.h \
$(STAGING_DIR)/usr/include/zlib.h \
$(STAGING_DIR)/usr/lib/libz.a \
$(STAGING_DIR)/usr/lib/libz.so*
endef
$(eval $(call BuildPackage,zlib)) $(eval $(call BuildPackage,zlib))