android-tools: add service file for adb
This commit is contained in:
parent
84fd7f4511
commit
630cd76e6f
3
srcpkgs/android-tools/files/adb/run
Executable file
3
srcpkgs/android-tools/files/adb/run
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
exec adb fork-server server ${OPTS:=-P 5037}
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'android-tools'
|
# Template file for 'android-tools'
|
||||||
pkgname=android-tools
|
pkgname=android-tools
|
||||||
version=5.1.0_r1
|
version=5.1.0_r1
|
||||||
revision=1
|
revision=2
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
@ -24,3 +24,7 @@ pre_build() {
|
|||||||
sed -i 's/f2fs_sparse_file = NULL/f2fs_sparse_file = 0/g' \
|
sed -i 's/f2fs_sparse_file = NULL/f2fs_sparse_file = 0/g' \
|
||||||
extras/f2fs_utils/f2fs_utils.c
|
extras/f2fs_utils/f2fs_utils.c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv adb
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user