diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-06-16 15:09:20 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-06-16 15:09:20 +0200 |
commit | 68e34e4eb9a102b55888716ddb5fc0bbc1a61e86 (patch) | |
tree | 019cf97a132cd4c9e37fefa9f084a55b8470612c /non-free/intel-ucode/APKBUILD | |
parent | b5b72ea2ba99cc8349edc435d64f2b40f6e54dad (diff) | |
download | aports-68e34e4eb9a102b55888716ddb5fc0bbc1a61e86.tar.bz2 aports-68e34e4eb9a102b55888716ddb5fc0bbc1a61e86.tar.xz |
non-free/intel-ucode: new aport
Diffstat (limited to 'non-free/intel-ucode/APKBUILD')
-rw-r--r-- | non-free/intel-ucode/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/non-free/intel-ucode/APKBUILD b/non-free/intel-ucode/APKBUILD new file mode 100644 index 000000000..82ec5d120 --- /dev/null +++ b/non-free/intel-ucode/APKBUILD @@ -0,0 +1,34 @@ +pkgname=intel-ucode +pkgver=20130222 +pkgrel=0 +pkgdesc="Microcode update files for Intel CPUs" +arch=noarch +url="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22" +license='custom' +source="http://downloadmirror.intel.com/22508/eng/microcode-${pkgver}.tgz + LICENSE + intel-microcode2ucode.c" + +build() { + cd "$srcdir" + gcc -Wall ${CFLAGS} -o intel-microcode2ucode \ + intel-microcode2ucode.c || return 1 + ./intel-microcode2ucode ./microcode.dat || return 1 +} + +package() { + cd "$srcdir" + install -d -m755 "${pkgdir}"/usr/lib/firmware/intel-ucode/ || return 1 + cp intel-ucode/* "${pkgdir}"/usr/lib/firmware/intel-ucode/ || return 1 + install -D -m644 LICENSE \ + "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1 +} +md5sums="e2dd0f73dc9882aa26aaade76139aee1 microcode-20130222.tgz +b0f489ae4b3e36dc8827dc53a76047aa LICENSE +0efc5f6c74a4d7e61ca22683c93c98cf intel-microcode2ucode.c" +sha256sums="fd25bd9777fc3c3b11f01e9090a2d24f7650023c9ec74bbf9f43bffe1d9d01cc microcode-20130222.tgz +6983e83ec10c6467fb9101ea496e0443f0574c805907155118e2c9f0bbea97b6 LICENSE +c51b1b1d8b4b28e7d5d007917c1e444af1a2ff04a9408aa9067c0e57d70164de intel-microcode2ucode.c" +sha512sums="7ba41a8e0f79beeb046750e30b6a9a181ed53a524f80db78cb9fe3e09bb9fdce664bf5a99882aa139d12e3a98aa5ecae316c950003bab3c69d890a5f223308f0 microcode-20130222.tgz +d80ce9087e2ffd0168600a34de195d6514d3a496bc233294cd838498e1ce668b9ad4463bbbe7958feec0421b5aed3ade1633432ce086241e03ed06bbd53b83a5 LICENSE +0e29f995dee47707026cfb6224580c2166d000e91af7b1afe12f00158be8606093d07cdbc0d583a0af79370cf1d9c16b5f35a306bae7f545a5c774ea253509b7 intel-microcode2ucode.c" |