2013-08-17 20:54:27 +00:00
|
|
|
pkgname=dkms-mt7601
|
2014-07-13 20:32:03 +00:00
|
|
|
pkgver=v3.0.0.4
|
2015-02-14 15:51:39 +00:00
|
|
|
pkgrel=2
|
2013-08-17 20:54:27 +00:00
|
|
|
pkgdesc="Driver for Ralink MT7601 chipset wireless adaptors"
|
2015-02-14 15:51:39 +00:00
|
|
|
arch=('any')
|
2013-08-17 20:54:27 +00:00
|
|
|
url="http://www.ralinktech.com"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('dkms' 'linux-headers')
|
|
|
|
conflicts=()
|
|
|
|
install=${pkgname}.install
|
|
|
|
options=(!strip)
|
|
|
|
_pkgname="mt7601"
|
2015-02-14 15:51:39 +00:00
|
|
|
source=("https://ddaygold.github.io/DPO_MT7601U_LinuxSTA_3.0.0.4_20150203.pfc.tar.bz2"
|
2013-08-17 20:54:27 +00:00
|
|
|
"dkms.conf")
|
|
|
|
|
2015-02-14 15:51:39 +00:00
|
|
|
md5sums=('75ba9f00abb288db8cbbdfdd87dee2e4'
|
2014-07-13 20:32:03 +00:00
|
|
|
'f07b4518d0f1190e0c72230137afadb4')
|
2013-08-17 20:54:27 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
|
|
|
|
# Change src dir name
|
2014-07-13 20:32:03 +00:00
|
|
|
mv ${srcdir}/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 ${srcdir}/$_pkgname-$pkgver
|
2013-08-17 20:54:27 +00:00
|
|
|
|
|
|
|
installDir="$pkgdir/usr/src/$_pkgname-$pkgver"
|
|
|
|
|
|
|
|
install -dm755 "$installDir"
|
|
|
|
install -m644 "$srcdir/dkms.conf" "$installDir"
|
|
|
|
install -dm755 "$pkgdir/etc/modprobe.d"
|
|
|
|
|
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}/"
|
|
|
|
|
|
|
|
for d in `find . -type d`
|
|
|
|
do
|
|
|
|
install -dm755 "$installDir/$d"
|
|
|
|
done
|
|
|
|
|
|
|
|
for f in `find . -type f -o -type l`
|
|
|
|
do
|
|
|
|
install -m644 "${srcdir}/${_pkgname}-${pkgver}/$f" "$installDir/$f"
|
|
|
|
done
|
|
|
|
}
|