void-packages/srcpkgs/odroid-u2-ubootcfg/template

26 lines
539 B
Text
Raw Normal View History

2014-01-21 23:23:49 +00:00
# Template file for 'odroid-u2-bootcfg'
pkgname=odroid-u2-ubootcfg
version=1.0
revision=1
homepage="http://hardkernel.com"
hostmakedepends="uboot-mkimage"
short_desc="odroid u2/u3 boot configuration"
maintainer="Enno Boland <eb@s01.de>"
license="GPL-2.0"
_default_scr="boot-auto_edid.scr"
do_build() {
for source in ${FILESDIR}/*.txt; do
mkimage -A arm -T script -C none -d $source $(basename ${source/.txt/.scr})
done
cp ${_default_scr} boot.scr
}
do_install() {
for scr in *.scr; do
echo $scr
vinstall $scr 600 boot
done
}