2013-04-29 10:31:13 +02:00
|
|
|
# Template file for 'linux'
|
|
|
|
pkgname=linux
|
2013-08-06 08:30:48 +02:00
|
|
|
version=3.10
|
2013-05-21 22:36:29 +02:00
|
|
|
revision=1
|
2013-08-27 11:20:36 +02:00
|
|
|
build_style=meta
|
2013-11-11 09:07:14 +01:00
|
|
|
homepage="http://www.voidlinux.eu/"
|
2013-04-29 10:31:13 +02:00
|
|
|
short_desc="Linux kernel meta package"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Public domain"
|
|
|
|
|
2013-11-11 09:07:14 +01: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 10:31:13 +02:00
|
|
|
|
|
|
|
linux_package() {
|
2013-11-11 09:07:14 +01:00
|
|
|
if [ "$XBPS_TARGET_ARCH" = "armv6l" ]; then
|
|
|
|
depends="kernel-rpi"
|
|
|
|
else
|
|
|
|
depends="linux3.10"
|
|
|
|
fi
|
2013-04-29 10:31:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
linux-headers_package() {
|
|
|
|
short_desc="Linux kernel headers meta package"
|
2013-11-11 09:07:14 +01:00
|
|
|
if [ "$XBPS_TARGET_ARCH" = "armv6l" ]; then
|
|
|
|
depends="kernel-rpi-headers"
|
|
|
|
else
|
|
|
|
depends="linux3.10-headers"
|
|
|
|
fi
|
2013-04-29 10:31:13 +02:00
|
|
|
}
|