PKGBUILDs/core/ndiswrapper-utils/PKGBUILD

25 lines
709 B
Bash

# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=ndiswrapper-utils
pkgver=1.55
pkgrel=1
pkgdesc="Binaries for ndiswrapper module"
arch=('arm')
license=('GPL')
url="http://ndiswrapper.sourceforge.net"
depends=(wireless_tools glibc)
replaces=('ndiswrapper-bin')
conflicts=('ndiswrapper-bin')
source=(http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-$pkgver.tar.gz
module-init-tools.patch)
md5sums=('aa423a46aff97bd0a830e43d546f2b0e'
'35751aea4aba80520f1310d8639dbfb9')
build()
{
cd $startdir/src/ndiswrapper-$pkgver/utils
# fix module init tools config file
patch -Np1 -i ../../module-init-tools.patch || return 1
make || return 1
make DESTDIR=$startdir/pkg install
}