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