diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-07-01 14:36:50 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-07-01 14:37:03 +0000 |
commit | e51160d04be08bac0305bf431960869e61031273 (patch) | |
tree | ff876d8bd72ebea9e699469cc5f3643fba12e6a0 /main/u-boot | |
parent | f4b38b749e5826885416c85727d8b413b0372b17 (diff) | |
download | aports-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/APKBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/u-boot/APKBUILD b/main/u-boot/APKBUILD index 9a29ee614b..9ec65fbab3 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 } |