aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libell/APKBUILD
blob: 8d28a2d5d9e5a49ca079fa02322b1f5d582dcdf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Pedro Filipe <xpecex@outlook.com>
pkgname=libell
pkgver=0.16
pkgrel=0
pkgdesc="The Embedded Linux* Library (ELL) provides core, low-level functionality for system daemons."
url="https://01.org/ell"
arch="all"
license="GPL-2.1"
makedepends="libnl3-dev dbus linux-headers"
subpackages="$pkgname-dev"
source="https://mirrors.edge.kernel.org/pub/linux/libs/ell/ell-$pkgver.tar.xz
	fix-WAIT_ANY-test-dbus.patch
	"
builddir="$srcdir/ell-$pkgver"
options="!check" # testsuite shows unknown error in unit/test-cipher

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="bf2b4c8b50841ce8eb5e90ab9fd76f0e8fa1993e7dab0a45a50c21f33537fd110f0bbf1326c6e4cefeb6b95b8db5874c2802ec957b47173fe3681f2522fa5816  ell-0.16.tar.xz
456f49b0f9c5ff93b1af2221d59f224b7b61847360e3f25b0d42af733fc4b296d30bb50349e00437c6e235c0bacba74c1a5b502dcc1b0c4bdbc38f101b3d4220  fix-WAIT_ANY-test-dbus.patch"