pmaports/modem/rmtfs/APKBUILD

40 lines
1.7 KiB
Text

# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=rmtfs
pkgver=0.2_git20220718
_commit="695d0668ffa6e2a4bf6e676f3c58a444a5d67690"
pkgrel=2
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
url="https://github.com/andersson/rmtfs"
arch="all"
license="BSD-3-Clause"
makedepends="eudev-dev qrtr-dev"
subpackages="$pkgname-doc $pkgname-openrc"
source="
rmtfs-$_commit.tar.gz::https://github.com/andersson/rmtfs/archive/$_commit.tar.gz
rmtfs.confd
rmtfs.initd
udev.rules
0001-add-modem_tng-alias-for-tunning-partition.patch
"
builddir="$srcdir/rmtfs-$_commit"
options="!check"
build() {
make rmtfs
}
package() {
install -Dm755 rmtfs "$pkgdir"/usr/sbin/rmtfs
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -Dm644 "$srcdir/udev.rules" "$pkgdir/usr/lib/udev/rules.d/65-$pkgname.rules"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
3ccd33ad29c1a485eea475ee54d5984f560cdda99d356e17b315f1cd718c2e9f1992fdc76269877bcbdf8ee2b82476a7738d0b1abb50cbed5c386ee11043010e rmtfs-695d0668ffa6e2a4bf6e676f3c58a444a5d67690.tar.gz
f27225e88be7906b0987bfc6fff4f2d5fe1be835d6df4299b7f240a9bf48f4d8cc635353e845d61c291e7857b059933cc567e39b03c7c655e3205bbcbacae3d3 rmtfs.confd
12215677a772a7233f8da1b41f4aa16f5bc8f2e10385882b1cae23d131f47b03524b7cdf519c1354354bbe353bdbefb15e2d9349894916a1cf6dc951a29d7a44 rmtfs.initd
cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules
2c48e3e97838eb2b779075263ef688bc48dde5cc9fc8f055e8ee67cc115228ab59e9466faa89dd817812ee9e3219e8ca331d766e84ad383a1b9706cbbdc2c6fd 0001-add-modem_tng-alias-for-tunning-partition.patch
"