pmaports/main/android-mkdtimg/APKBUILD
Minecrell a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00

30 lines
1 KiB
Text

# Maintainer: Zhuowei Zhang <zhuoweizhang@yahoo.com>
pkgname=android-mkdtimg
pkgver=1
pkgrel=1
_commit="f7b3c0ec3ab51b8000de5a5cb7485e91ef35370b"
pkgdesc="Tool to create dtbo images"
url="https://android.googlesource.com/platform/system/libufdt/"
arch="all"
license="Apache-2.0"
depends="libfdt"
makedepends="dtc-dev"
# android-o-mr1-iot-release-smart-display-r4
source="https://gitlab.com/zhuowei/android-mkdtimg/-/archive/$_commit/$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/android-mkdtimg-$_commit"
build() {
$CC -o mkdtimg -Wall -Os -I sysdeps/include \
utils/src/mkdtimg.c utils/src/mkdtimg_cfg_create.c \
utils/src/mkdtimg_core.c utils/src/mkdtimg_create.c \
utils/src/mkdtimg_dump.c utils/src/dt_table.c \
sysdeps/libufdt_sysdeps_posix.c -lfdt
}
package() {
install -D -m755 mkdtimg \
"$pkgdir"/usr/bin/mkdtimg
}
sha512sums="7f4ccc7046b969a86ab933c52165db3fcf5d821cf9c177f644b87062525ade694beb2de22e83449d89bb2a4d061a4c8efcbd251b11acb9235ee0105295a7a322 f7b3c0ec3ab51b8000de5a5cb7485e91ef35370b.tar.gz"