[arch-commits] CVS update of extra/network/iwlwifi-suspend2 (PKGBUILD iwlwifi.install)

daniel at archlinux.org daniel at archlinux.org
Tue Oct 16 18:50:13 UTC 2007


    Date: Tuesday, October 16, 2007 @ 14:50:13
  Author: daniel
    Path: /home/cvs-extra/extra/network/iwlwifi-suspend2

 Removed: PKGBUILD (1.3) iwlwifi.install (1.1)


-----------------+
 PKGBUILD        |   26 --------------------------
 iwlwifi.install |   36 ------------------------------------
 2 files changed, 62 deletions(-)


Index: extra/network/iwlwifi-suspend2/PKGBUILD
diff -u extra/network/iwlwifi-suspend2/PKGBUILD:1.3 extra/network/iwlwifi-suspend2/PKGBUILD:removed
--- extra/network/iwlwifi-suspend2/PKGBUILD:1.3	Wed Sep 26 13:42:16 2007
+++ extra/network/iwlwifi-suspend2/PKGBUILD	Tue Oct 16 14:50:13 2007
@@ -1,26 +0,0 @@
-# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
-
-_kernver=2.6.22-suspend2
-pkgname=iwlwifi-suspend2
-pkgver=1.1.0
-pkgrel=1
-pkgdesc="Driver for the Intel PRO/Wireless 3945ABG/4965AGN miniPCI express adapters"
-arch=(i686 x86_64)
-url="http://intellinuxwireless.org/?p=iwlwifi"
-license=('GPL')
-depends=('wireless_tools' 'kernel26suspend2')
-install=iwlwifi.install
-source=(http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-${pkgver}.tgz)
-md5sums=('f7183e4309e9081f3b9ae0a705516295')
-
-build() {
-  cd $startdir/src/iwlwifi-${pkgver}
-  # The first 'make' adds compatibility patches,
-  # the second actually builds
-  make KSRC=/lib/modules/${_kernver}/build || \
-  make KSRC=/lib/modules/${_kernver}/build || return 1
-  #Install kernel module
-  install -D -m 644 compatible/iwl3945.ko  $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless/iwl3945.ko
-  install -D -m 644 compatible/iwl4965.ko  $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless/iwl4965.ko
-  sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
-}
Index: extra/network/iwlwifi-suspend2/iwlwifi.install
diff -u extra/network/iwlwifi-suspend2/iwlwifi.install:1.1 extra/network/iwlwifi-suspend2/iwlwifi.install:removed
--- extra/network/iwlwifi-suspend2/iwlwifi.install:1.1	Mon Aug 27 10:01:37 2007
+++ extra/network/iwlwifi-suspend2/iwlwifi.install	Tue Oct 16 14:50:13 2007
@@ -1,36 +0,0 @@
-# arg 1:  the new package version
-post_install()
-{
-  KERNEL_VERSION='2.6.22-suspend2'
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1 
-
-  echo
-  echo "To use the iwlwifi driver, you have to install the right firmware package:"
-  echo " - iwlwifi-3945-ucode for Intel Pro Wireless 3945ABG"
-  echo " - iwlwifi-4965-ucode for Intel Pro Wireless 4965AGN"
-  echo
-  /bin/true
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade()
-{
-  KERNEL_VERSION='2.6.22-suspend2'
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1 
-  /bin/true
-}
-
-# arg 1:  the old package version
-post_remove()
-{
-  KERNEL_VERSION='2.6.22-suspend2'
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1 	 
- 
-  /bin/true
-}
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list