PKGBUILDs/extra/martian-utils/PKGBUILD
2009-10-09 21:23:22 -05:00

32 lines
1.2 KiB
Bash

# $Id: PKGBUILD 26720 2009-02-11 17:43:06Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Jonathan Liu <net147@hotmail.com>
pkgname=martian-utils
pkgver=20080625
pkgrel=2
pkgdesc="Alternative driver for the Agere Systems PCI WinModem."
arch=('i686')
url="http://martian.barrelsoutofbond.org/"
license=("GPL" "custom:Agere Systems WinModem License")
depends=('glibc')
replaces=('ltmodem-utils')
backup=(etc/conf.d/martian)
options=(!strip)
source=(http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/martian-full-${pkgver}.tar.gz
martian
martian.conf.d)
_kernver=2.6.28-ARCH
build() {
cd $startdir/src/martian-full-$pkgver/modem
make all
install -D -m755 $startdir/src/martian-full-$pkgver/modem/martian_modem $startdir/pkg/usr/sbin/martian_modem
install -D -m755 $startdir/src/martian $startdir/pkg/etc/rc.d/martian
install -D -m644 $startdir/src/martian.conf.d $startdir/pkg/etc/conf.d/martian
install -D -m644 $startdir/src/martian-full-$pkgver/modem/ASWMLICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('7ecbf7d294c620b5382eb54e28d8bbbb'
'e13f080f084db58f32bbc09141896e48'
'ee94c46259e9c4f7f16980060ccd3f4d')