34 lines
819 B
Plaintext
34 lines
819 B
Plaintext
# Template file for 'linux'
|
|
pkgname=linux
|
|
version=3.10
|
|
revision=1
|
|
build_style=meta
|
|
homepage="http://www.voidlinux.eu/"
|
|
short_desc="Linux kernel meta package"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="Public domain"
|
|
|
|
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"
|
|
;;
|
|
armv7l*)
|
|
makedepends="kernel-odroid-u2 linux-firmware dracut"
|
|
depends="kernel-odroid-u2"
|
|
_depends_headers="kernel-headers-odroid-u2"
|
|
;;
|
|
*) msg_error "${pkgname}-${version}: unsupported target machine.\n";;
|
|
esac
|
|
|
|
linux-headers_package() {
|
|
short_desc="Linux kernel headers meta package"
|
|
depends="${_depends_headers}"
|
|
}
|