void-packages/srcpkgs/linux/template

33 lines
736 B
Text
Raw Normal View History

# Template file for 'linux'
pkgname=linux
2013-08-06 06:30:48 +00:00
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"
elif [ "$XBPS_TARGET_ARCH" = "armv6l" ]; then
makedepends="kernel-rpi"
fi
linux_package() {
if [ "$XBPS_TARGET_ARCH" = "armv6l" ]; then
depends="kernel-rpi"
else
depends="linux3.10"
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
}