diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/grub/APKBUILD | 7 | ||||
-rw-r--r-- | main/powerpc-utils/APKBUILD | 35 |
2 files changed, 39 insertions, 3 deletions
diff --git a/main/grub/APKBUILD b/main/grub/APKBUILD index b77d443ead..077ac02604 100644 --- a/main/grub/APKBUILD +++ b/main/grub/APKBUILD @@ -3,7 +3,7 @@ pkgname=grub _ver=2.02~beta3 pkgver=2.02_beta3 -pkgrel=6 +pkgrel=7 pkgdesc="Bootloader with support for Linux, Multiboot and more" url="https://www.gnu.org/software/grub/" arch="all !armhf !s390x" @@ -22,7 +22,8 @@ case "$CARCH" in x86) subpackages="$subpackages $pkgname-efi $pkgname-bios" ;; x86_64) subpackages="$subpackages $pkgname-efi $pkgname-bios $pkgname-xenhost" ;; aarch64) subpackages="$subpackages $pkgname-efi" ;; -ppc64le) subpackages="$subpackages $pkgname-ieee1275" ;; +ppc64le) subpackages="$subpackages $pkgname-ieee1275" + makedepends="$makedepends powerpc-utils" ;; s390x) subpackages="$subpackages $pkgname-emu" ;; esac @@ -246,7 +247,7 @@ xenhost() { ieee1275() { pkgdesc="$pkgdesc (IEEE1275 version)" - depends="$pkgname" + depends="$pkgname powerpc-utils" mkdir -p $subpkgdir/usr/lib/grub mv $pkgdir/usr/lib/grub/*-ieee1275 $subpkgdir/usr/lib/grub/ } diff --git a/main/powerpc-utils/APKBUILD b/main/powerpc-utils/APKBUILD new file mode 100644 index 0000000000..e514f48687 --- /dev/null +++ b/main/powerpc-utils/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Breno Leitao <breno.leitao@gmail.com> +pkgname=powerpc-utils +pkgver=1.3.3 +pkgrel=0 +pkgdesc="Utilities which are intended for maintenance of powerpc platforms" +url="https://github.com/nfont/powerpc-utils" +arch="ppc64le" +license="GPL" +makedepends="autoconf automake zlib-dev" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/nfont/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + + ./autogen.sh || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --without-librtas \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="26c80f0d0ec886efa1530233f178463e powerpc-utils-1.3.3.tar.gz" +sha256sums="2a3f4e7ef219d4de642c7da100d7d6511e93556778c0814b2ebc1170256fc844 powerpc-utils-1.3.3.tar.gz" +sha512sums="cdd7c355b5fd7aa11f717282bad8a03e553249ca104018519faf72a36753e1ac2f6347af3d65acaadbffd0906fd5835d8b6a49dbd545d0a2519b26cbaf9d96ae powerpc-utils-1.3.3.tar.gz" |