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"
|
|
|
|
|
2013-11-11 08:07:14 +00:00
|
|
|
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
|
2013-04-29 08:31:13 +00:00
|
|
|
|
|
|
|
linux_package() {
|
2013-11-11 08:07:14 +00:00
|
|
|
if [ "$XBPS_TARGET_ARCH" = "armv6l" ]; then
|
|
|
|
depends="kernel-rpi"
|
|
|
|
else
|
|
|
|
depends="linux3.10"
|
|
|
|
fi
|
2013-04-29 08:31:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
linux-headers_package() {
|
|
|
|
short_desc="Linux kernel headers meta package"
|
2013-11-11 08:07:14 +00:00
|
|
|
if [ "$XBPS_TARGET_ARCH" = "armv6l" ]; then
|
|
|
|
depends="kernel-rpi-headers"
|
|
|
|
else
|
|
|
|
depends="linux3.10-headers"
|
|
|
|
fi
|
2013-04-29 08:31:13 +00:00
|
|
|
}
|