mirror of https://github.com/hak5/openwrt.git
parent
f24397711b
commit
b65701e887
|
@ -8,11 +8,11 @@ PKG_VERSION:=2.5.3
|
|||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
@ -81,6 +81,25 @@ define Build/Compile
|
|||
all install
|
||||
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
|
||||
install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
|
||||
$(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/
|
||||
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))
|
||||
|
|
|
@ -8,11 +8,11 @@ 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_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
@ -35,23 +35,17 @@ PLX/PCI/CS version of the driver to actually use the driver. \\\
|
|||
endef
|
||||
|
||||
define Package/kmod-hostap-pci
|
||||
SECTION:=drivers
|
||||
CATEGORY:=Drivers
|
||||
$(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
|
||||
URL:=http://hostap.epitest.fi/
|
||||
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
|
||||
endef
|
||||
|
||||
define Package/kmod-hostap-plx
|
||||
SECTION:=drivers
|
||||
CATEGORY:=Drivers
|
||||
$(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
|
||||
URL:=http://hostap.epitest.fi/
|
||||
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
|
||||
endef
|
||||
|
||||
|
||||
|
|
|
@ -74,11 +74,11 @@ endef
|
|||
|
||||
define Package/ipsec-tools/install
|
||||
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/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/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/racoon $(1)/usr/sbin/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoonctl $(1)/usr/sbin/
|
||||
|
|
|
@ -6,7 +6,7 @@ PKG_NAME:=ipset
|
|||
PKG_VERSION:=2.2.3
|
||||
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_URL:=http://ipset.netfilter.org
|
||||
PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
|
||||
|
|
|
@ -50,7 +50,6 @@ Includes: \\\
|
|||
* libipt_conntrack \\\
|
||||
* libipt_helper \\\
|
||||
* libipt_connmark/CONNMARK
|
||||
|
||||
endef
|
||||
|
||||
define Package/iptables-mod-filter
|
||||
|
@ -62,7 +61,6 @@ DESCRIPTION:=iptables extensions for packet content inspection\\\
|
|||
Includes: \\\
|
||||
* libipt_ipp2p \\\
|
||||
* libipt_layer7
|
||||
|
||||
endef
|
||||
|
||||
define Package/iptables-mod-imq
|
||||
|
@ -73,7 +71,6 @@ TITLE:=IMQ support
|
|||
DESCRIPTION:=iptables extension for IMQ support\\\
|
||||
Includes: \\\
|
||||
* libipt_IMQ
|
||||
|
||||
endef
|
||||
|
||||
define Package/iptables-mod-ipopt
|
||||
|
@ -91,7 +88,6 @@ Includes: \\\
|
|||
* libipt_tcpmms \\\
|
||||
* libipt_ttl/TTL \\\
|
||||
* libipt_unclean
|
||||
|
||||
endef
|
||||
|
||||
define Package/iptables-mod-ipsec
|
||||
|
@ -103,7 +99,6 @@ DESCRIPTION:=iptables extensions for matching ipsec traffic\\\
|
|||
Includes: \\\
|
||||
* libipt_ah \\\
|
||||
* libipt_esp
|
||||
|
||||
endef
|
||||
|
||||
define Package/iptables-mod-nat
|
||||
|
@ -138,7 +133,6 @@ Includes: \\\
|
|||
* libipt_physdev \\\
|
||||
* libipt_pkttype \\\
|
||||
* libipt_recent
|
||||
|
||||
endef
|
||||
|
||||
define Package/iptables-utils
|
||||
|
|
|
@ -69,29 +69,23 @@ define Build/Compile
|
|||
all install
|
||||
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
|
||||
install -m0755 -d $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.so.* $(1)/usr/lib/
|
||||
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))
|
||||
|
|
|
@ -8,12 +8,11 @@ PKG_VERSION:=0.6.2pre1
|
|||
PKG_RELEASE:=1
|
||||
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:=mini_fo-0-6-2-pre1.tar.bz2
|
||||
PKG_CAT:=bzcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mini_fo-0-6-2-pre1
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
||||
define Package/kmod-mini-fo
|
||||
|
|
|
@ -23,19 +23,18 @@ endef
|
|||
|
||||
define Package/nvram/install
|
||||
install -d -m0755 $(1)/usr/lib
|
||||
$(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
|
||||
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
|
||||
|
||||
define Build/InstallDev
|
||||
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
|
||||
|
||||
define Build/UninstallDev
|
||||
rm -f $(STAGING_DIR)/usr/lib/libshared*.so \
|
||||
$(STAGING_DIR)/usr/lib/libnvram*.so
|
||||
rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,nvram))
|
||||
|
|
|
@ -8,12 +8,11 @@ PKG_VERSION:=2.4.5
|
|||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=a9a8e88313faceebfc5ceb1a9da9a3c4
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=http://www.openswan.org/download
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
||||
define Package/kmod-openswan
|
||||
|
|
|
@ -76,7 +76,6 @@ define Package/pppstats
|
|||
DESCRIPTION:=Utility to report PPP statistics
|
||||
endef
|
||||
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)/usr
|
||||
|
|
|
@ -23,11 +23,11 @@ URL:=http://pptpclient.sourceforge.net/
|
|||
endef
|
||||
|
||||
define Package/pptp/install
|
||||
install -d -m0755 $(1)/sbin
|
||||
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 -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/
|
||||
endef
|
||||
|
||||
|
|
|
@ -8,11 +8,11 @@ PKG_VERSION:=0.35
|
|||
PKG_RELEASE:=2
|
||||
PKG_MD5SUM:=016f49d71bc32eee2b5d11fc1600cfbe
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=@SF/shfs
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
|
|
@ -8,12 +8,11 @@ PKG_VERSION:=20060301
|
|||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=4160e03c408ac254111febacf058b88a
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
||||
#FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages
|
||||
|
|
|
@ -5,10 +5,20 @@ include $(TOPDIR)/package/kernel.mk
|
|||
|
||||
PKG_NAME:=kmod-switch
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
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
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
|
@ -25,16 +35,6 @@ define Build/Compile
|
|||
modules
|
||||
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
|
||||
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
|
||||
$(CP) $(PKG_BUILD_DIR)/*.$(LINUX_KMOD_SUFFIX) \
|
||||
|
|
|
@ -8,11 +8,11 @@ PKG_VERSION:=1.0d1
|
|||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
@ -21,7 +21,7 @@ include $(TOPDIR)/package/rules.mk
|
|||
define Package/kmod-ueagle-atm
|
||||
SECTION:=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
|
||||
DESCRIPTION:=Driver for Eagle 8051 based USB ADSL modems
|
||||
URL:=http://www.eagle-usb.org/
|
||||
|
|
|
@ -26,10 +26,11 @@ URL:=http://hplabs.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
|
|||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -I." \
|
||||
libiw.so.28 iwmulticall
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
PREFIX="$(PKG_INSTALL_DIR)" \
|
||||
INSTALL_DIR="$(PKG_INSTALL_DIR)/usr/sbin" \
|
||||
|
@ -37,23 +38,24 @@ define Build/Compile
|
|||
install-iwmulticall
|
||||
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
|
||||
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/
|
||||
ln -sf libiw.so.28 $(STAGING_DIR)/usr/lib/libiw.so
|
||||
$(CP) $(PKG_BUILD_DIR)/{iwlib,wireless}.h $(STAGING_DIR)/usr/include/
|
||||
endef
|
||||
|
||||
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
|
||||
|
||||
$(eval $(call BuildPackage,wireless-tools))
|
||||
|
|
|
@ -8,14 +8,14 @@ PKG_VERSION:=r69
|
|||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=c14133a3d5b27927402a492e84d2467a
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-driver-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=http://zd1211.ath.cx/download/
|
||||
PKG_SOURCE:=$(PKG_NAME)-driver-$(PKG_VERSION).tgz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-driver-$(PKG_VERSION)
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
||||
#FIXME: add proper dependency handling on kmod-usb-core packages
|
||||
define Package/kmod-zd1211
|
||||
SECTION:=drivers
|
||||
CATEGORY:=Drivers
|
||||
|
@ -54,4 +54,3 @@ define Package/kmod-zd1211/install
|
|||
endef
|
||||
|
||||
$(eval $(call BuildPackage,kmod-zd1211))
|
||||
|
||||
|
|
|
@ -8,8 +8,7 @@ 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_SOURCE_URL:=http://www.zlib.net @SF/zlib
|
||||
PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6
|
||||
PKG_CAT:=bzcat
|
||||
|
||||
|
@ -47,27 +46,23 @@ define Build/Compile
|
|||
install
|
||||
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
|
||||
install -m0755 -d $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(1)/usr/lib/
|
||||
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))
|
||||
|
|
Loading…
Reference in New Issue