pmaports/main/mkbootimg/APKBUILD
Lucas Ramage e5d88d4de7 mkbootimg: replace Python version with osm0sis' C version (#1193)
Closes #441. Adjust bootimg_analyze code:
* Install mkbootimg (which now provides unpackbootimg) instead of
  unpackbootimg. In theory, pmbootstrap should recognize this
  automatically, however right now it does not yet handle this case.
* The file names of the extracted files have changed.
2018-02-11 11:41:41 +00:00

24 lines
694 B
Text

pkgname=mkbootimg
pkgver=2017.12.13
pkgrel=0
pkgdesc="Android bootimg creation tool"
url="https://github.com/osm0sis/mkbootimg"
arch="all"
license="APACHE2"
depends=""
provides="unpackbootimg"
subpackages=""
source="$pkgname.tar.gz::https://github.com/osm0sis/$pkgname/archive/$pkgver.tar.gz"
options="!check"
workdir="$pkgname-$pkgver"
build() {
make -j1
}
package() {
install -Dm755 "$srcdir/$workdir/mkbootimg" "${pkgdir}/usr/bin/mkbootimg"
install -Dm755 "$srcdir/$workdir/unpackbootimg" "${pkgdir}/usr/bin/unpackbootimg"
}
sha512sums="39820ee581f007b6e7c69f83ae6d54e99d32869604d1a960421c0c588fa55917f686104782b1e5ff5cb586f7efb19e9b9db11e69031cbb5e22462ab9d39cdc20 mkbootimg.tar.gz"