2018-03-11 15:59:09 +00:00
|
|
|
pkgname=qrtr
|
2019-07-17 15:03:58 +00:00
|
|
|
pkgver=1.1.0.3_git20190725
|
|
|
|
_commit="cd6bedd5d00f211e6c1e3803ff2f9f53c246435e"
|
2018-05-12 15:10:36 +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"
|
|
|
|
install="$pkgname.post-install"
|
2018-03-11 15:59:09 +00:00
|
|
|
subpackages="$pkgname-doc $pkgname-dev"
|
|
|
|
source="
|
2019-07-17 15:03:58 +00:00
|
|
|
qrtr-$_commit.tar.gz::https://github.com/andersson/qrtr/archive/$_commit.tar.gz
|
2018-05-12 15:10:36 +00:00
|
|
|
qrtr.initd
|
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
|
2018-03-11 15:59:09 +00:00
|
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
2018-05-12 15:10:36 +00:00
|
|
|
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
|
2018-03-11 15:59:09 +00:00
|
|
|
}
|
|
|
|
|
2019-07-17 15:03:58 +00:00
|
|
|
sha512sums="f606b38d94aa440d1efc071eaf0a9e85319765196844e4b62520fddfea98a70fb73ffd3825e54a0f3c66ef4591e404fba1291c1fa134b4c66460efe414f5756a qrtr-cd6bedd5d00f211e6c1e3803ff2f9f53c246435e.tar.gz
|
2018-05-12 15:10:36 +00:00
|
|
|
fcd9b8e4c4df9236ec778f1ffb231e547e0d65c718e0caf351bee821b1549aecafbfdb21b4c1d1e3d049d541d87b6bf98746414e88e5d70d05131e0496e1ef37 qrtr.initd"
|