[arch-commits] Commit in tiacx-lts/trunk (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Tue Mar 22 13:22:44 UTC 2011
Date: Tuesday, March 22, 2011 @ 09:22:44
Author: tpowa
Revision: 115875
upgpkg: tiacx-lts 20080210-5
rebuild against latest kernel
Modified:
tiacx-lts/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-03-22 13:22:25 UTC (rev 115874)
+++ PKGBUILD 2011-03-22 13:22:44 UTC (rev 115875)
@@ -3,7 +3,7 @@
pkgname=tiacx-lts
pkgver=20080210
-pkgrel=4
+pkgrel=5
pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For arch LTS 2.6 kernel"
arch=(i686 x86_64)
url="http://acx100.sourceforge.net/"
@@ -16,15 +16,22 @@
kernel-2.6.30.patch
kernel-2.6.31.patch)
_kernver=2.6.32-lts
+options=(!strip)
build() {
cd $srcdir/acx-$pkgver
- patch -Np1 -i ../kernel-2.6.27.patch || return 1
- patch -Np0 -i ../kernel-2.6.30.patch || return 1
- patch -Np1 -i ../kernel-2.6.31.patch || return 1
- make -C /lib/modules/${_kernver}/build M=`pwd` || return 1
+ patch -Np1 -i ../kernel-2.6.27.patch
+ patch -Np0 -i ../kernel-2.6.30.patch
+ patch -Np1 -i ../kernel-2.6.31.patch
+ make -C /lib/modules/${_kernver}/build M=`pwd`
+}
+
+package() {
+ cd $srcdir/acx-$pkgver
install -D acx.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/net/wireless/tiacx/acx.ko
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
+ # gzip -9 modules
+ find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
}
md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12'
'9895f72f8d0c84956b0f6c3b16df0fe8'
More information about the arch-commits
mailing list