aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libell/APKBUILD
blob: 02c23f8593ffe5bf2a89743b4a7f1c1ec06066ae (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.15
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="42ba7a6049b4751ee8876dbb26caf8289541e68079314ec299e83c97acc546eadb5254d35e354468d906b4185fd6f08b22f2979d5f0f20321135055b38b26fc4  ell-0.15.tar.xz
456f49b0f9c5ff93b1af2221d59f224b7b61847360e3f25b0d42af733fc4b296d30bb50349e00437c6e235c0bacba74c1a5b502dcc1b0c4bdbc38f101b3d4220  fix-WAIT_ANY-test-dbus.patch"