modem/ta-service: new aport (MR 4452)

This commit is contained in:
Luca Weiss 2023-10-05 20:30:43 +02:00 committed by Pablo Correa Gómez
parent ba934f0325
commit 805b7fa0ee
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 42 additions and 0 deletions

34
modem/ta-service/APKBUILD Normal file
View file

@ -0,0 +1,34 @@
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=ta-service
pkgver=0_git20180925
pkgrel=0
pkgdesc="TA services for msm8974-based Sony Xperia devices"
url="https://github.com/andersson/ta-service"
arch="armv7" # only useful on armv7 Sony phones
license="BSD-3-Clause"
makedepends="qmic qrtr-dev"
_commit="594fd47a92dd6a9fcb47e221537185510bc488b8"
subpackages="$pkgname-openrc"
source="
https://github.com/andersson/ta-service/archive/$_commit/ta-service-$_commit.tar.gz
ta-service.initd
"
builddir="$srcdir/ta-service-$_commit"
options="!check" # No tests
build() {
make
}
package() {
make DESTDIR="$pkgdir" prefix=/usr install
install -Dm755 "$srcdir"/ta-service.initd \
"$pkgdir"/etc/init.d/ta-service
}
sha512sums="
6e7e2420f321634e157483f7d06347a4a02d91c500cabdc8fe80b0f109dde8a2c2f9b30c36e82d5e5212c6f77f1570af3efe2fa0b88700093d52a319b3c76099 ta-service-594fd47a92dd6a9fcb47e221537185510bc488b8.tar.gz
0b94b32fa640ad61534cec83408c21ddb5c36434cc934be5399716b33b64bbedb64652ed9200292bee57c3b4fb4fbc45ce98a23aaab5a61471dc4c43c450cf94 ta-service.initd
"

View file

@ -0,0 +1,8 @@
#!/sbin/openrc-run
supervisor=supervise-daemon
name="TA services"
description="TA services for msm8974-based Sony Xperia devices"
command="/usr/bin/ta-service"
command_args="/dev/disk/by-partlabel/TA"