2013-04-29 10:31:13 +02:00
|
|
|
# Template file for 'linux'
|
|
|
|
pkgname=linux
|
2013-08-06 08:30:48 +02:00
|
|
|
version=3.10
|
2013-05-21 22:36:29 +02:00
|
|
|
revision=1
|
2013-08-27 11:20:36 +02:00
|
|
|
build_style=meta
|
2013-11-11 09:07:14 +01:00
|
|
|
homepage="http://www.voidlinux.eu/"
|
2013-04-29 10:31:13 +02:00
|
|
|
short_desc="Linux kernel meta package"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Public domain"
|
|
|
|
|
2014-01-18 12:56:13 +01:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*|x86_64*)
|
|
|
|
makedepends="linux3.10 linux-firmware dracut"
|
|
|
|
depends="linux3.10"
|
|
|
|
_depends_headers="linux3.10-headers"
|
|
|
|
;;
|
|
|
|
armv6l*)
|
|
|
|
makedepends="kernel-rpi"
|
|
|
|
depends="kernel-rpi"
|
|
|
|
_depends_headers="kernel-rpi-headers"
|
|
|
|
;;
|
2014-01-21 21:45:40 +01:00
|
|
|
armv7l*)
|
|
|
|
makedepends="kernel-odroid-u2 linux-firmware dracut"
|
|
|
|
depends="kernel-odroid-u2"
|
|
|
|
_depends_headers="kernel-headers-odroid-u2"
|
|
|
|
;;
|
2014-01-18 12:56:13 +01:00
|
|
|
*) msg_error "${pkgname}-${version}: unsupported target machine.\n";;
|
|
|
|
esac
|
2013-04-29 10:31:13 +02:00
|
|
|
|
|
|
|
linux-headers_package() {
|
|
|
|
short_desc="Linux kernel headers meta package"
|
2014-01-18 12:56:13 +01:00
|
|
|
depends="${_depends_headers}"
|
2013-04-29 10:31:13 +02:00
|
|
|
}
|