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

Tobias Powalowski tpowa at archlinux.org
Wed Oct 10 20:55:13 UTC 2007


    Date: Wednesday, October 10, 2007 @ 16:55:13
  Author: tpowa
    Path: /home/cvs-extra/extra/network/fcpcmcia

Modified: PKGBUILD (1.25 -> 1.26) fcpcmcia.install (1.11 -> 1.12)

'upgpkg: update to new major kernel'


------------------+
 PKGBUILD         |   13 ++++++++-----
 fcpcmcia.install |    4 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)


Index: extra/network/fcpcmcia/PKGBUILD
diff -u extra/network/fcpcmcia/PKGBUILD:1.25 extra/network/fcpcmcia/PKGBUILD:1.26
--- extra/network/fcpcmcia/PKGBUILD:1.25	Mon Jul  9 18:08:34 2007
+++ extra/network/fcpcmcia/PKGBUILD	Wed Oct 10 16:55:13 2007
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD,v 1.25 2007/07/09 22:08:34 tpowa Exp $
+# $Id: PKGBUILD,v 1.26 2007/10/10 20:55:13 tpowa Exp $
 #Maintainer: Tobias Powalowski <t.powa at gmx.de>
 
 
 
 pkgname=fcpcmcia
 pkgver=31107
-pkgrel=29
-_kernver=2.6.22-ARCH
+pkgrel=30
+_kernver=2.6.23-ARCH
 pkgdesc="AVM ISDN driver for FRITZ PCMCIA isdn cards. For stock arch 2.6 kernel"
 arch=(i686 x86_64)
 license=('custom:"AVM"' 'LPGL')
 url="http://www.avm.de"
 depends=('capi4k-utils' 'kernel26')
-source=(ftp://ftp.avm.de/cardware/fritzcrd.pcm/linux/suse.93/fcpcmcia-suse93-3.11-07.tar.gz \
+[ "$CARCH" = "i686" ] && source=(ftp://ftp.avm.de/cardware/fritzcrd.pcm/linux/suse.93/fcpcmcia-suse93-3.11-07.tar.gz \
+	pcmcia-2.6.17.patch atomic.patch kernel-2.6.19.patch kernel-2.6.20.patch kernel-2.6.22.patch)
+[ "$CARCH" = "x86_64" ] && source=(ftp://ftp.avm.de/cardware/fritzcrd.pcm/linux_64bit/suse.10.0/fcpcmcia-suse10.0-64bit-3.11-07.tar.gz \
 	pcmcia-2.6.17.patch atomic.patch kernel-2.6.19.patch kernel-2.6.20.patch kernel-2.6.22.patch)
 install=(fcpcmcia.install)
+options=(!makeflags)
 build() {
   cd $startdir/src/fritz/src
-  patch -Np0 -i ../../atomic.patch || return 1
+  [ "$CARCH" = "i686" ] && (patch -Np0 -i ../../atomic.patch || return 1)
   patch -Np0 -i ../../pcmcia-2.6.17.patch || return 1
   patch -Np0 -i ../../kernel-2.6.19.patch || return 1
   patch -Np0 -i ../../kernel-2.6.20.patch || return 1
Index: extra/network/fcpcmcia/fcpcmcia.install
diff -u extra/network/fcpcmcia/fcpcmcia.install:1.11 extra/network/fcpcmcia/fcpcmcia.install:1.12
--- extra/network/fcpcmcia/fcpcmcia.install:1.11	Mon Jul  9 18:08:35 2007
+++ extra/network/fcpcmcia/fcpcmcia.install	Wed Oct 10 16:55:13 2007
@@ -9,7 +9,7 @@
   sed -i -e 's/#fcpcmcia	-	-	-	-	-	-/fcpcmcia	-	-	-	-	-	-/g' /etc/capi.conf
     # updating module dependencies
   echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.22-ARCH
+  KERNEL_VERSION=2.6.23-ARCH
   depmod -v $KERNEL_VERSION > /dev/null 2>&1
 }
 
@@ -24,7 +24,7 @@
   sed -i -e 's/fcpcmcia	-	-	-	-	-	-/#fcpcmcia	-	-	-	-	-	-/g' /etc/capi.conf
     # updating module dependencies
   echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.22-ARCH
+  KERNEL_VERSION=2.6.23-ARCH
   depmod -v $KERNEL_VERSION > /dev/null 2>&1
 }
 




More information about the arch-commits mailing list