aboutsummaryrefslogtreecommitdiffstats
path: root/main/u-boot
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2014-07-01 14:36:50 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2014-07-01 14:37:03 +0000
commite51160d04be08bac0305bf431960869e61031273 (patch)
treeff876d8bd72ebea9e699469cc5f3643fba12e6a0 /main/u-boot
parentf4b38b749e5826885416c85727d8b413b0372b17 (diff)
downloadaports-e51160d04be08bac0305bf431960869e61031273.tar.bz2
aports-e51160d04be08bac0305bf431960869e61031273.tar.xz
main/u-boot: install files under /usr/share/
Diffstat (limited to 'main/u-boot')
-rw-r--r--main/u-boot/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/u-boot/APKBUILD b/main/u-boot/APKBUILD
index 9a29ee614..9ec65fbab 100644
--- a/main/u-boot/APKBUILD
+++ b/main/u-boot/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=u-boot
pkgver=2014.04
-pkgrel=0
+pkgrel=1
pkgdesc="Bootloader for ARM"
url="http://www.denx.de/wiki/U-Boot/"
arch="armhf"
@@ -48,12 +48,14 @@ build() {
package() {
cd "$_builddir"
for board in $boards_config; do
- mkdir -p "$pkgdir"/$board
+ mkdir -p "$pkgdir"/usr/share/$pkgname/$board
export BUILD_DIR="$_builddir"/build/$board
if [ -e "$BUILD_DIR"/MLO ]; then
- cp "$BUILD_DIR"/MLO "$pkgdir"/$board || return 1
+ cp "$BUILD_DIR"/MLO \
+ "$pkgdir"/usr/share/$pkgname/$board || return 1
fi
- cp "$BUILD_DIR"/u-boot.* "$pkgdir"/$board || return 1
+ cp "$BUILD_DIR"/u-boot.* \
+ "$pkgdir"/usr/share/$pkgname/$board || return 1
done
}