mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
33 lines
1.3 KiB
Bash
33 lines
1.3 KiB
Bash
# $Id: PKGBUILD 47869 2009-07-28 11:06:40Z thomas $
|
|
# Contributor: Giovanni Scafora <linuxmania@gmail.com>
|
|
# Maintainer: Thomas Baechler <thomas@archlinux.org>
|
|
|
|
pkgname=microcode_ctl
|
|
# Version of the update tool
|
|
_toolver=1.17
|
|
# Version of the microcode image
|
|
_microcodever=20090330
|
|
pkgver=${_toolver}.${_microcodever}
|
|
pkgrel=2
|
|
pkgdesc="A companion to the IA32 microcode kernel driver"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.urbanmyth.org/microcode"
|
|
license=('GPL')
|
|
install=microcode.install
|
|
#depends=('kernel26>=2.6.20')
|
|
source=(http://www.urbanmyth.org/microcode/$pkgname-${_toolver}.tar.gz
|
|
http://downloadmirror.intel.com/14303/eng/microcode-${_microcodever}.tgz
|
|
microcode
|
|
microcode.rules)
|
|
md5sums=('98a7f06acef8459c8ef2a1b0fb86a99e'
|
|
'5efec742621f830bd49ae11274766208'
|
|
'e694f32b7e30674786100b371ab50384'
|
|
'e6f212fcb6af8c4f3464db2e9210655e')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-${_toolver}
|
|
make all || return 1
|
|
make DESTDIR=$startdir/pkg PREFIX=/usr RCFILETO=/etc/rc.d RCFILE=../microcode RCFILEFINAL=microcode MANDIR=/usr/share/man/man8 install || return 1
|
|
install -D -m644 ../microcode.rules $startdir/pkg/etc/udev/rules.d/microcode.rules || return 1
|
|
install -D -m644 ../microcode-${_microcodever}.dat $startdir/pkg/etc/microcode.dat
|
|
}
|