mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
1.2 KiB
Bash
30 lines
1.2 KiB
Bash
# $Id: PKGBUILD 42217 2009-06-11 20:04:43Z tpowa $
|
|
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=intel-536ep
|
|
name=intel-536EP
|
|
pkgver=2.56.76.0
|
|
pkgrel=62
|
|
_kernver=2.6.30-ARCH
|
|
pkgdesc="Intel Modem Drivers for 536EP chipset. For stock arch 2.6 kernel "
|
|
arch=(i686)
|
|
license=('custom:"INTEL536"')
|
|
url="http://linmodems.technion.ac.il/packages/Intel/"
|
|
depends=('intel-536ep-utils' 'kernel26>=2.6.30' 'kernel26<2.6.31')
|
|
source=(http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/intel-536EP-2.56.76.0_2009_02_08.tar.bz2
|
|
2.6.30.patch)
|
|
install=intel-536EP.install
|
|
|
|
build() {
|
|
cd $startdir/src/intel-536EP-2.56.76.0
|
|
patch -Np0 -i ../2.6.30.patch || return 1
|
|
# fix makefile
|
|
sed -i -e "s/\`uname -r\`/${_kernver}/g" makefile
|
|
sed -i -e "s/\`uname -r\`/${_kernver}/g" config_check
|
|
make KERNEL_SOURCE_PATH=/lib/modules/${_kernver}/build KDIR=/lib/modules/${_kernver}/build 536 || return 1
|
|
#Install kernel module
|
|
install -D -m 644 Intel536.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/intel536.ko || return 1
|
|
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/intel-536EP.install
|
|
}
|
|
md5sums=('2c429c3ec7eab83a756dbdc611172474'
|
|
'475f999386f79638971382d2ed063e7a')
|