2020-10-07 09:51:22 +00:00
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
2018-03-11 15:59:09 +00:00
|
|
|
pkgname=qrtr
|
2022-07-01 16:00:28 +00:00
|
|
|
pkgver=0.3_git20201207
|
|
|
|
_commit="9dc7a88548c27983e06465d3fbba2ba27d4bc050"
|
2023-09-25 14:44:33 +00:00
|
|
|
pkgrel=1
|
2018-03-11 15:59:09 +00:00
|
|
|
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
|
|
|
|
url="https://github.com/andersson/qrtr"
|
|
|
|
arch="all"
|
|
|
|
license="BSD-3-Clause"
|
2019-07-17 15:03:58 +00:00
|
|
|
depends_dev="linux-headers"
|
|
|
|
makedepends="$depends_dev"
|
2023-09-25 14:44:33 +00:00
|
|
|
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-openrc $pkgname-pmtest"
|
2018-03-11 15:59:09 +00:00
|
|
|
source="
|
2019-07-17 15:03:58 +00:00
|
|
|
qrtr-$_commit.tar.gz::https://github.com/andersson/qrtr/archive/$_commit.tar.gz
|
2020-03-06 18:48:03 +00:00
|
|
|
qrtr-ns.initd
|
2023-09-25 14:44:33 +00:00
|
|
|
lookup-test.files
|
|
|
|
lookup-test.sh
|
2019-07-17 15:03:58 +00:00
|
|
|
"
|
|
|
|
builddir="$srcdir/qrtr-$_commit"
|
2018-03-11 15:59:09 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
2019-07-17 15:03:58 +00:00
|
|
|
make prefix=/usr all
|
2018-03-11 15:59:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-05-12 15:10:36 +00:00
|
|
|
make prefix=/usr DESTDIR="$pkgdir" install
|
2020-03-06 18:48:03 +00:00
|
|
|
rm -r "$pkgdir"/usr/lib/systemd
|
|
|
|
|
2018-03-11 15:59:09 +00:00
|
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
2020-03-06 18:48:03 +00:00
|
|
|
install -Dm755 "$srcdir"/qrtr-ns.initd "$pkgdir"/etc/init.d/qrtr-ns
|
2018-03-11 15:59:09 +00:00
|
|
|
}
|
|
|
|
|
2023-09-25 14:44:33 +00:00
|
|
|
pmtest() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-mkinitfs-hook-ci"
|
|
|
|
|
|
|
|
install -Dm755 "$srcdir"/lookup-test.sh \
|
|
|
|
"$subpkgdir"/usr/libexec/pmos-tests-initramfs/10-qrtr-lookup.sh
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/lookup-test.files \
|
|
|
|
"$subpkgdir"/usr/share/mkinitfs/files/10-qrtr-lookup.files
|
|
|
|
}
|
|
|
|
|
2022-07-01 16:00:28 +00:00
|
|
|
sha512sums="
|
|
|
|
d3dd93983382a105372665dd1e1abb944adace37fabab0980dec3dded175586e37dc0da480d21be5876921274f4420bdf032bd5cc0e86ab951e3ec704ec396e0 qrtr-9dc7a88548c27983e06465d3fbba2ba27d4bc050.tar.gz
|
|
|
|
68c27e5c1c70ffdec0498cd4746208dd571e392ba030cf1a52f4a05394a57e399cf7437a1f27631dd288c7771fb656946aa27d7aec5b23d41fe13c5199ae390a qrtr-ns.initd
|
2023-09-25 14:44:33 +00:00
|
|
|
00b26c284b2765ddc46cf4b9eb4013e09ae96dfa4a9ac1c49f608a735579bbb442cda2a116417131c5dec234aca224bac824a2167f280990a04c90bc3065a51d lookup-test.files
|
|
|
|
6daecca1be580176cc275a07e87086151fe2426a4f032264a305a5deb49d888acd29e05e6efbabb1693cd5ebdfb62a7543138d2149c9a1154d1451b3d854dfdc lookup-test.sh
|
2022-07-01 16:00:28 +00:00
|
|
|
"
|