aboutsummaryrefslogtreecommitdiffstats
path: root/testing/genimage/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/genimage/APKBUILD')
-rw-r--r--testing/genimage/APKBUILD61
1 files changed, 0 insertions, 61 deletions
diff --git a/testing/genimage/APKBUILD b/testing/genimage/APKBUILD
deleted file mode 100644
index bd08986dbba..00000000000
--- a/testing/genimage/APKBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# Contributor: Duncan Bellamy <dunk@denkimushi.com>
-# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
-pkgname=genimage
-pkgver=15
-pkgrel=0
-pkgdesc="tool to generate multiple filesystem and flash images from a tree"
-url="https://github.com/pengutronix/genimage"
-arch="all"
-license="GPL-2.0-only"
-makedepends="autoconf automake confuse-dev linux-headers"
-checkdepends="
- bash
- cdrkit
- coreutils
- cramfs
- dosfstools
- dtc
- findutils
- genext2fs
- mtd-utils-ubi
- mtools
- qemu-img
- squashfs-tools
- util-linux-misc
- "
-source="$pkgname-$pkgver.tar.gz::https://github.com/pengutronix/genimage/archive/refs/tags/v$pkgver.tar.gz"
-
-case "$CARCH" in
- ppc64le) checkdepends="$checkdepends mtd-utils-jffs sfdisk" ;;
- s390x) : ;;
- *) checkdepends="$checkdepends android-tools mtd-utils-jffs sfdisk u-boot-tools" ;;
-esac
-
-prepare() {
- default_prepare
- autoreconf -vif
-}
-
-build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc
- make
-}
-
-check() {
- # ext2/3/4 tests fail with incorrect output
- # android-tools and u-boot-tools missing on ppc64le and s390x
- # first hdimage test and jfs test fails on s390x
- make check
-}
-
-package() {
- make DESTDIR="$pkgdir" install
-}
-
-sha512sums="
-dd63872e8a41872e9af2b87efd604f0a9d6946e6ebbc323a0e81052efd6a9668f9ffe77f068c84e38fb27cb1e00bd63e9b2cdebf9526b4bc6c9e0f7e344762a7 genimage-15.tar.gz
-"