void-packages/srcpkgs/linux/template

27 lines
658 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"
if [ "$XBPS_TARGET_ARCH" = "i686" -o "$XBPS_TARGET_ARCH" = "x86_64" ]; then
makedepends="linux3.10 linux-firmware dracut"
depends="linux3.10"
elif [ "$XBPS_TARGET_ARCH" = "armv6l" ]; then
makedepends="kernel-rpi"
depends="kernel-rpi"
fi
linux-headers_package() {
short_desc="Linux kernel headers meta package"
if [ "$XBPS_TARGET_ARCH" = "armv6l" ]; then
depends="kernel-rpi-headers"
else
depends="linux3.10-headers"
fi
}