2014-01-23 01:41:54 +01:00
|
|
|
# Template file for 'odroid-u2-base'
|
|
|
|
pkgname=odroid-u2-base
|
2014-03-17 15:15:48 +01:00
|
|
|
version=1.7
|
2014-01-27 17:13:15 +01:00
|
|
|
revision=1
|
|
|
|
build_style=meta
|
2014-01-23 01:41:54 +01:00
|
|
|
homepage="http://www.voidlinux.eu"
|
2014-01-25 20:04:52 +01:00
|
|
|
short_desc="Void Linux Odroid U2 platform package"
|
2014-01-22 00:23:49 +01:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
2014-01-25 20:04:52 +01:00
|
|
|
license="Public Domain"
|
|
|
|
|
2014-01-24 11:35:48 +01:00
|
|
|
only_for_archs="armv7l"
|
2014-01-28 14:26:53 +01:00
|
|
|
makedepends="ntp?ntp-daemon dhcpcd openssh-server odroid-u2-kernel odroid-u2-uboot odroid-u2-boot-fw"
|
2014-01-25 20:04:52 +01:00
|
|
|
depends="${makedepends}"
|
|
|
|
|
2014-01-24 11:59:56 +01:00
|
|
|
conf_files=/etc/default/odroid-led
|
2014-01-24 11:35:48 +01:00
|
|
|
|
2014-01-22 00:23:49 +01:00
|
|
|
do_install() {
|
2014-01-27 16:07:11 +01:00
|
|
|
# Set proper perms to some devices.
|
|
|
|
vmkdir usr/lib/udev/rules.d
|
|
|
|
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-odroid-u2.rules
|
|
|
|
|
2014-01-24 11:35:48 +01:00
|
|
|
# Install LED utilities
|
|
|
|
vinstall ${FILESDIR}/odroid-led 744 /usr/sbin
|
|
|
|
vinstall ${FILESDIR}/odroid-led.default 744 /etc/default odroid-led
|
|
|
|
vinstall ${FILESDIR}/odroid-led.service 644 /usr/lib/systemd/system
|
2014-01-22 00:23:49 +01:00
|
|
|
}
|