diff --git a/srcpkgs/dockstar-uboot/template b/srcpkgs/dockstar-uboot/template index 24f1148f8dd..98316263bd6 100644 --- a/srcpkgs/dockstar-uboot/template +++ b/srcpkgs/dockstar-uboot/template @@ -1,20 +1,19 @@ # 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="${_board}-uboot" +pkgname=dockstar-uboot version=2014.04.R4 revision=1 wrksrc="u-boot-${version##*.}" only_for_archs="armv5tel" -short_desc="(archlinuxarm) u-boot compiled for ${_board}" +short_desc="(archlinuxarm) u-boot compiled for dockstar" maintainer="Andrea Brancaleoni " license="GPL-3" 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" -skip_extraction="uboot-${_board}.env" +skip_extraction="uboot-dockstar.env" do_configure() { - make ${_board}_config + make dockstar_config } do_build() { unset CFLAGS CXXFLAGS LDFLAGS @@ -23,10 +22,10 @@ do_build() { else make u-boot.kwb 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() { local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version" - vinstall uboot-${_board}.kwb 755 boot - vinstall ${srcdir}/uboot-${_board}.env 644 boot + vinstall uboot-dockstar.kwb 755 boot + vinstall ${srcdir}/uboot-dockstar.env 644 boot }