dockstar-uboot: workaround issue in xbps-checkvers(8).

This commit is contained in:
Juan RP 2015-05-20 19:13:31 +02:00
parent ba6baeb704
commit 204b12cf17

View file

@ -1,20 +1,19 @@
# Template file for 'kirkwood-uboot' # Template file for 'kirkwood-uboot'
_board=dockstar # It's easy to add also the other kirkwood boards replacing this with "goflexhome goflexnet pogo_e02" pkgname=dockstar-uboot
pkgname="${_board}-uboot"
version=2014.04.R4 version=2014.04.R4
revision=1 revision=1
wrksrc="u-boot-${version##*.}" wrksrc="u-boot-${version##*.}"
only_for_archs="armv5tel" only_for_archs="armv5tel"
short_desc="(archlinuxarm) u-boot compiled for ${_board}" short_desc="(archlinuxarm) u-boot compiled for dockstar"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>" maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3" license="GPL-3"
homepage="https://github.com/archlinuxarm/u-boot" homepage="https://github.com/archlinuxarm/u-boot"
distfiles="https://github.com/archlinuxarm/u-boot/archive/${version##*.}.tar.gz http://archlinuxarm.org/os/armv5te/boot/dockstar/uboot-${_board}.env" distfiles="https://github.com/archlinuxarm/u-boot/archive/${version##*.}.tar.gz http://archlinuxarm.org/os/armv5te/boot/dockstar/uboot-dockstar.env"
checksum="22492ec730f0e91e4f732d8793cea39fb5945386eb46e86f3d8446978361c551 ec6522fdb74a41bc2b6f301729c421c9600be1a479bf7932405b39d2f459ada7" checksum="22492ec730f0e91e4f732d8793cea39fb5945386eb46e86f3d8446978361c551 ec6522fdb74a41bc2b6f301729c421c9600be1a479bf7932405b39d2f459ada7"
skip_extraction="uboot-${_board}.env" skip_extraction="uboot-dockstar.env"
do_configure() { do_configure() {
make ${_board}_config make dockstar_config
} }
do_build() { do_build() {
unset CFLAGS CXXFLAGS LDFLAGS unset CFLAGS CXXFLAGS LDFLAGS
@ -23,10 +22,10 @@ do_build() {
else else
make u-boot.kwb make u-boot.kwb
fi fi
dd if=u-boot.kwb of=uboot-${_board}.kwb bs=512k conv=sync dd if=u-boot.kwb of=uboot-dockstar.kwb bs=512k conv=sync
} }
do_install() { do_install() {
local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version" local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version"
vinstall uboot-${_board}.kwb 755 boot vinstall uboot-dockstar.kwb 755 boot
vinstall ${srcdir}/uboot-${_board}.env 644 boot vinstall ${srcdir}/uboot-dockstar.env 644 boot
} }