mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/libgbinder: new aport
This commit is contained in:
parent
70e030fd76
commit
d54dc6b632
44
testing/libgbinder/APKBUILD
Normal file
44
testing/libgbinder/APKBUILD
Normal file
@ -0,0 +1,44 @@
|
||||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=libgbinder
|
||||
pkgver=1.1.11
|
||||
pkgrel=0
|
||||
pkgdesc="GLib-style interface to binder"
|
||||
url="https://github.com/mer-hybris/libgbinder"
|
||||
# s390x has failing tests and is unsupported upstream
|
||||
arch="all !s390x"
|
||||
license="BSD-3-Clause"
|
||||
makedepends="
|
||||
glib-dev
|
||||
libglibutil-dev
|
||||
"
|
||||
subpackages="$pkgname-dev $pkgname-tools"
|
||||
source="https://github.com/mer-hybris/libgbinder/archive/$pkgver/libgbinder-$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
make KEEP_SYMBOLS=1 release pkgconfig
|
||||
make -C test/binder-bridge KEEP_SYMBOLS=1 release
|
||||
make -C test/binder-list KEEP_SYMBOLS=1 release
|
||||
make -C test/binder-ping KEEP_SYMBOLS=1 release
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C unit test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install-dev
|
||||
}
|
||||
|
||||
tools() {
|
||||
pkgdesc="$pkgdesc (tools)"
|
||||
|
||||
cd "$builddir"
|
||||
make DESTDIR="$subpkgdir" -C test/binder-bridge KEEP_SYMBOLS=1 install
|
||||
make DESTDIR="$subpkgdir" -C test/binder-list KEEP_SYMBOLS=1 install
|
||||
make DESTDIR="$subpkgdir" -C test/binder-ping KEEP_SYMBOLS=1 install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
13bf5134a29ae26235fee37e43f74c1bc9ccfed35163f047a00f114c178f9ae02505a5f20e171eaaa422f6c145f4b3dd9b48df334725ec758ac15231bcefe072 libgbinder-1.1.11.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user