android-tools: add service file for adb

This commit is contained in:
Enno Boland 2015-03-12 14:11:11 +01:00
parent 84fd7f4511
commit 630cd76e6f
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
exec adb fork-server server ${OPTS:=-P 5037}

View file

@ -1,7 +1,7 @@
# Template file for 'android-tools'
pkgname=android-tools
version=5.1.0_r1
revision=1
revision=2
create_wrksrc=yes
build_style=gnu-makefile
hostmakedepends="git"
@ -24,3 +24,7 @@ pre_build() {
sed -i 's/f2fs_sparse_file = NULL/f2fs_sparse_file = 0/g' \
extras/f2fs_utils/f2fs_utils.c
}
post_install() {
vsv adb
}