mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
![]() |
# $Id: PKGBUILD 42189 2009-06-11 18:37:30Z tpowa $
|
||
|
# Maintainer:
|
||
|
# Contributor: Jonathan Liu <net147@hotmail.com>
|
||
|
|
||
|
pkgname=martian
|
||
|
pkgver=20080625
|
||
|
pkgrel=5
|
||
|
pkgdesc="Alternative driver for the Agere Systems PCI WinModem."
|
||
|
arch=('i686')
|
||
|
url="http://martian.barrelsoutofbond.org/"
|
||
|
license=("GPL" "custom:Agere Systems WinModem License")
|
||
|
depends=('kernel26>=2.6.30' 'kernel26<2.6.31' 'martian-utils')
|
||
|
replaces=('ltmodem')
|
||
|
options=(!strip)
|
||
|
install=martian.install
|
||
|
source=(http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/martian-full-${pkgver}.tar.gz)
|
||
|
_kernver=2.6.30-ARCH
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/martian-full-$pkgver
|
||
|
#patch -Np1 -i ../fastcall.patch || return 1
|
||
|
#patch -Np1 -i ../stringify.patch || return 1
|
||
|
make KERNEL_DIR=/usr/src/linux-${_kernver} all || return 1
|
||
|
install -D -m644 $startdir/src/martian-full-$pkgver/kmodule/martian_dev.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/martian_dev.ko
|
||
|
install -D -m644 $startdir/src/martian-full-$pkgver/modem/ASWMLICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
||
|
}
|
||
|
md5sums=('7ecbf7d294c620b5382eb54e28d8bbbb')
|