[arch-commits] Commit in slmodem/trunk (PKGBUILD slmodem.install)

Thomas Baechler thomas at archlinux.org
Tue May 13 07:58:20 EDT 2008


    Date: Tuesday, May 13, 2008 @ 07:58:19
  Author: thomas
Revision: 1589

upgpkg: slmodem 2.9.11-41

Modified:
  slmodem/trunk/PKGBUILD
  slmodem/trunk/slmodem.install

-----------------+
 PKGBUILD        |    9 +++++----
 slmodem.install |    4 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-13 10:58:54 UTC (rev 1588)
+++ PKGBUILD	2008-05-13 11:58:19 UTC (rev 1589)
@@ -2,17 +2,17 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 
-_kernver=2.6.24-ARCH;
+_kernver=2.6.25-ARCH;
 
 pkgname=slmodem
 pkgver=2.9.11
-pkgrel=40
+pkgrel=41
 
 pkgdesc="Drivers for the Smartlink winmodems. For stock arch 2.6 kernel "
 arch=(i686)
 license=('custom:"Smartlink"')
 url="http://linmodems.technion.ac.il/packages/smartlink/" 
-depends=('kernel26>=2.6.24.3-4' 'kernel26<=2.6.25-0' 'slmodem-utils') 
+depends=('kernel26>=2.6.25.3-1' 'kernel26<=2.6.26' 'slmodem-utils') 
 install=slmodem.install 
 source=(http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20080126.tar.gz \
   http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-20080126.tar.gz
@@ -24,10 +24,11 @@
   install -D -m644 ungrab-winmodem.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/ungrab-winmodem.ko
   cd $startdir/src/$pkgname-$pkgver-20080126
   patch -Np0 -i ../kernel-2.6.24.patch || return 1
+  sed 's|^obj-m := slamr.o slusb.o|obj-m := slamr.o|' -i drivers/Makefile
   make KERNEL_DIR=/lib/modules/${_kernver}/build SUPPORT_ALSA=1 DESTDIR=$startdir/pkg drivers || return 1 
   # Install kernel modules
   install -D -m 644 drivers/slamr.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/slamr.ko
-  install -D -m 644 drivers/slusb.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/usb/net/slusb.ko 
+  #install -D -m 644 drivers/slusb.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/usb/net/slusb.ko 
   sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/slmodem.install
 }
 md5sums=('8670dd7e1e1a46296ac4c80f7ac0471d'

Modified: slmodem.install
===================================================================
--- slmodem.install	2008-05-13 10:58:54 UTC (rev 1588)
+++ slmodem.install	2008-05-13 11:58:19 UTC (rev 1589)
@@ -21,7 +21,7 @@
 
   # updating module dependencies
   echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.24-ARCH
+  KERNEL_VERSION=2.6.25-ARCH
   depmod -v $KERNEL_VERSION   > /dev/null 2>&1	
 echo
 echo
@@ -39,7 +39,7 @@
 post_remove() {
   # updating module dependencies
   echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.24-ARCH
+  KERNEL_VERSION=2.6.25-ARCH
   depmod -v $KERNEL_VERSION   > /dev/null 2>&1	
 }
 





More information about the arch-commits mailing list