Add blobtools as package for tf101 (#1115)
This is for making a kernel image for the TF101 easier. See also: ttps://github.com/postmarketOS/pmbootstrap/pull/1103#issuecomment-357035481 The TF101 does not support normal Android boot images and instead needs a blob to be created.
This commit is contained in:
parent
e100b18aca
commit
6caddcb873
1 changed files with 28 additions and 0 deletions
28
main/blobtools/APKBUILD
Normal file
28
main/blobtools/APKBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
pkgname=blobtools
|
||||
pkgver=0.0_git20121024
|
||||
pkgrel=0
|
||||
pkgdesc="Tools for unpacking & repacking blobs used for updating 'hidden' partitions on ASUS Transformer"
|
||||
url="https://github.com/AndroidRoot/BlobTools"
|
||||
arch="all"
|
||||
license="Apache-2.0"
|
||||
options="!check"
|
||||
depends=""
|
||||
makedepends=""
|
||||
subpackages=""
|
||||
|
||||
_commit=6186e33baa10ce6f1c738d7b91eb5153743105af
|
||||
source="$pkgname-$_commit.tar.gz::https://github.com/AndroidRoot/BlobTools/archive/${_commit}.tar.gz"
|
||||
|
||||
builddir="$srcdir"/BlobTools-$_commit
|
||||
build() {
|
||||
cd "$builddir"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
for i in "$builddir"/blobpack "$builddir"/blobunpack; do
|
||||
install -Dm755 "$i" "$pkgdir"/usr/bin/"$(basename "$i")"
|
||||
done
|
||||
}
|
||||
|
||||
sha512sums="69e1113c1d99f1aa930cc6674d6a0473baf9648c4c3f4da37aa44cb42648a40fe15d0a4a72815baa1118bdca36b0084b4efe82ff75549d233498a5637e98508d blobtools-6186e33baa10ce6f1c738d7b91eb5153743105af.tar.gz"
|
Loading…
Reference in a new issue