aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libneo4j-client/APKBUILD
blob: e2ae86f235948bff5c3fe440cc20cdb8ba576cf0 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Contributor: Chris Leishman <chris@leishman.org>
# Maintainer: Chris Leishman <chris@leishman.org>
pkgname=libneo4j-client
pkgver=2.2.0
pkgrel=3
pkgdesc="Client library for the Neo4j graph database"
url="https://github.com/cleishm/libneo4j-client"
arch="aarch64 ppc64le x86_64"
license="Apache-2.0"
makedepends="
	autoconf
	automake
	check-dev
	doxygen
	libcypher-parser-dev
	libedit-dev
	libtool
	musl-fts-dev
	openssl-dev
	"
subpackages="
	$pkgname-dev
	neo4j-client
	neo4j-client-doc
	"
source="https://github.com/cleishm/libneo4j-client/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	export CFLAGS="$CFLAGS -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=nonnull"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-doxygen-html \
		--disable-doxygen-pdf
	make

}

check() {
	make LIBS="-lfts" check
}

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

client() {
	pkgdesc="Command line shell for Neo4j"

	amove usr/bin/neo4j-client
}

sha512sums="
973f8e49ee780b9ef8710dad057f264db1004523059ece5504af32c2ba5367e9199898d24aa133c017c953b0b750b2a23495765069c9a5ad470e8387a0eb4d9a  libneo4j-client-2.2.0.tar.gz
"