diff options
author | Cecil <knoppmyth@gmail.com> | 2011-07-21 04:14:09 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-07-21 04:14:09 (GMT) |
commit | 8cbfc27790f5e0f17d62206b7160b1c9d86eb17f (patch) | |
tree | 3e4dac16c8b7f64bd448c28e8ff11f4cee984f78 | |
parent | 3c19d2ed002bf1dee45a6387973547202c4a26c6 (diff) | |
download | linhes_pkgbuild-8cbfc27790f5e0f17d62206b7160b1c9d86eb17f.zip linhes_pkgbuild-8cbfc27790f5e0f17d62206b7160b1c9d86eb17f.tar.gz linhes_pkgbuild-8cbfc27790f5e0f17d62206b7160b1c9d86eb17f.tar.bz2 |
tiacx:Recompiled for new kernel.
-rw-r--r-- | abs/core/tiacx/PKGBUILD | 40 | ||||
-rw-r--r-- | abs/core/tiacx/acx.install | 6 |
2 files changed, 25 insertions, 21 deletions
diff --git a/abs/core/tiacx/PKGBUILD b/abs/core/tiacx/PKGBUILD index 6fa4980..428d993 100644 --- a/abs/core/tiacx/PKGBUILD +++ b/abs/core/tiacx/PKGBUILD @@ -1,37 +1,41 @@ -# $Id: PKGBUILD 97004 2010-10-25 21:04:20Z tpowa $ -# Maintainer: James Rayner <iphitus@gmail.com> +# Contributor: James Rayner <iphitus@gmail.com> pkgname=tiacx pkgver=20080210 -pkgrel=19 +pkgrel=22 pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock arch 2.6 kernel" arch=(i686 x86_64) url="http://acx100.sourceforge.net/" license=('MPL') -#depends=('wireless_tools' 'kernel26>=2.6.36' 'kernel26<2.6.37' 'tiacx-firmware') -#makedepends=('kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37') -depends=('wireless_tools' 'kernel26<=2.6.37' 'tiacx-firmware') -makedepends=('kernel26-headers>=2.6.37') +depends=('wireless_tools' 'kernel26>=2.6.39' 'kernel26<2.6.40' 'tiacx-firmware') +makedepends=('kernel26-headers>=2.6.39' 'kernel26-headers<2.6.40') install=acx.install source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2 kernel-2.6.27.patch kernel-2.6.30.patch kernel-2.6.31.patch kernel-2.6.33.patch) -_kernver=2.6.37-LinHES +options=(!strip) +_kernver=2.6.39-LinHES +md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12' + '9895f72f8d0c84956b0f6c3b16df0fe8' + 'e2900aee839ce711a7f7606b3e3de36e' + 'dbcb276d77df7801cef58a85c18dfe94' + '9cd35ea33b8abdd2e4efec485b05477e') 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 - patch -Np0 -i ../kernel-2.6.33.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 + patch -Np0 -i ../kernel-2.6.33.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' - 'e2900aee839ce711a7f7606b3e3de36e' - 'dbcb276d77df7801cef58a85c18dfe94' - '9cd35ea33b8abdd2e4efec485b05477e') diff --git a/abs/core/tiacx/acx.install b/abs/core/tiacx/acx.install index 1ac836e..971bf32 100644 --- a/abs/core/tiacx/acx.install +++ b/abs/core/tiacx/acx.install @@ -1,19 +1,19 @@ # arg 1: the new package version post_install() { - KERNEL_VERSION='2.6.37-LinHES' + KERNEL_VERSION='2.6.39-LinHES' depmod $KERNEL_VERSION > /dev/null 2>&1 } # arg 1: the new package version # arg 2: the old package version post_upgrade() { - KERNEL_VERSION='2.6.37-LinHES' + KERNEL_VERSION='2.6.39-LinHES' depmod $KERNEL_VERSION > /dev/null 2>&1 } # arg 1: the old package version post_remove() { - KERNEL_VERSION='2.6.37-LinHES' + KERNEL_VERSION='2.6.39-LinHES' depmod $KERNEL_VERSION > /dev/null 2>&1 } |