[arch-commits] Commit in fcpcmcia/trunk (PKGBUILD fcpcmcia.install)
Tobias Powalowski
tpowa at archlinux.org
Wed Jan 26 09:06:17 UTC 2011
Date: Wednesday, January 26, 2011 @ 04:06:17
Author: tpowa
Revision: 107494
upgpkg: fcpcmcia 31107-55
bump to latest .37 series
Modified:
fcpcmcia/trunk/PKGBUILD
fcpcmcia/trunk/fcpcmcia.install
------------------+
PKGBUILD | 30 +++++++++++++++++++-----------
fcpcmcia.install | 4 ++--
2 files changed, 21 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-01-26 08:00:54 UTC (rev 107493)
+++ PKGBUILD 2011-01-26 09:06:17 UTC (rev 107494)
@@ -3,14 +3,14 @@
pkgname=fcpcmcia
pkgver=31107
-pkgrel=54
-_kernver=2.6.36-ARCH
+pkgrel=55
+_kernver=2.6.37-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>=2.6.36' 'kernel26<2.6.37')
-makedepends=('kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37')
+depends=('capi4k-utils' 'kernel26>=2.6.37' 'kernel26<2.6.38')
+makedepends=('kernel26-headers>=2.6.37' 'kernel26-headers<2.6.38')
if [ "$CARCH" = "i686" ]; then 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
@@ -23,8 +23,9 @@
kernel-2.6.33.patch
kernel-2.6.34.patch
kernel-2.6.35.patch
- kernel-2.6.36.patch)
- md5sums=('96fc3e72afdc2087b4dafe41c069ec18'
+ kernel-2.6.36.patch
+ kernel-2.6.37.patch)
+md5sums=('96fc3e72afdc2087b4dafe41c069ec18'
'ec21dee3a5a09203dc55b399c29bc58c'
'258b13bb2ac46960b9c91635f02cd080'
'5c63dc9df0810bb1ba85f3425abaa0ed'
@@ -37,7 +38,8 @@
'410f077bbe271e924be6d8b6b5f9540d'
'224a7679645a51929f8d5e1f210d7a9e'
'3a8dcddd077fc301a23a038d5f0aa11f'
- '21ccb623540d866091eb918a3d5b2358')
+ '21ccb623540d866091eb918a3d5b2358'
+ '9093b1f75d3b2564eb6054ee7f708bee')
fi
if [ "$CARCH" = "x86_64" ]; then 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
@@ -52,7 +54,8 @@
kernel-2.6.33.patch
kernel-2.6.34.patch
kernel-2.6.35.patch
- kernel-2.6.36.patch)
+ kernel-2.6.36.patch
+ kernel-2.6.37.patch)
md5sums=('4f461710cf57ebf50b3c4f2842288752'
'ec21dee3a5a09203dc55b399c29bc58c'
'258b13bb2ac46960b9c91635f02cd080'
@@ -66,10 +69,12 @@
'410f077bbe271e924be6d8b6b5f9540d'
'224a7679645a51929f8d5e1f210d7a9e'
'3a8dcddd077fc301a23a038d5f0aa11f'
- '21ccb623540d866091eb918a3d5b2358')
+ '21ccb623540d866091eb918a3d5b2358'
+ '9093b1f75d3b2564eb6054ee7f708bee')
fi
install=(fcpcmcia.install)
options=(!makeflags)
+
build() {
cd $srcdir/fritz/src
[ "$CARCH" = "i686" ] && (patch -Np0 -i ../../atomic.patch)
@@ -85,7 +90,7 @@
patch -Np0 -i ../../kernel-2.6.34.patch
patch -Np0 -i ../../kernel-2.6.35.patch
patch -Np0 -i ../../kernel-2.6.36.patch
-
+ patch -Np0 -i ../../kernel-2.6.37.patch
cd ..
# fix from Karsten Keil <kkeil at suse.de>
# in refernece to bug: http://bugs.archlinux.org/task/8511
@@ -105,7 +110,10 @@
$i.old $i
done
cd $srcdir/fritz
- make KDIR=/lib/modules/${_kernver}/build LIBDIR=$pkgdir/var/lib/fritz all || return 1
+ make KDIR=/lib/modules/${_kernver}/build LIBDIR=$pkgdir/var/lib/fritz all
+}
+
+package() {
mkdir -p $pkgdir/lib/modules/${_kernver}/kernel/drivers/isdn/hardware/avm/
cp $srcdir/fritz/src/fcpcmcia.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/isdn/hardware/avm/
cp $srcdir/fritz/src/fcpcmcia_cs.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/isdn/hardware/avm/
Modified: fcpcmcia.install
===================================================================
--- fcpcmcia.install 2011-01-26 08:00:54 UTC (rev 107493)
+++ fcpcmcia.install 2011-01-26 09:06:17 UTC (rev 107494)
@@ -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.36-ARCH
+ KERNEL_VERSION=2.6.37-ARCH
depmod -v $KERNEL_VERSION > /dev/null 2>&1
}
@@ -24,6 +24,6 @@
sed -i -e 's/fcpcmcia - - - - - -/#fcpcmcia - - - - - -/g' /etc/capi.conf
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.36-ARCH
+ KERNEL_VERSION=2.6.37-ARCH
depmod -v $KERNEL_VERSION > /dev/null 2>&1
}
More information about the arch-commits
mailing list