2016-07-29 15:25:00 +02:00
|
|
|
# Contributor: Chris Leishman <chris@leishman.org>
|
|
|
|
# Maintainer: Chris Leishman <chris@leishman.org>
|
|
|
|
pkgname=libneo4j-client
|
2017-11-13 23:04:31 -05:00
|
|
|
pkgver=2.2.0
|
2022-08-20 22:23:06 +02:00
|
|
|
pkgrel=3
|
2016-07-29 15:25:00 +02:00
|
|
|
pkgdesc="Client library for the Neo4j graph database"
|
|
|
|
url="https://github.com/cleishm/libneo4j-client"
|
2022-08-20 22:23:06 +02:00
|
|
|
arch="aarch64 ppc64le x86_64"
|
[various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.
Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").
Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.
GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.
Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!
[1]: https://spdx.org/licenses/
2017-12-30 19:04:30 +01:00
|
|
|
license="Apache-2.0"
|
2022-08-20 22:23:06 +02:00
|
|
|
makedepends="
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
check-dev
|
|
|
|
doxygen
|
|
|
|
libcypher-parser-dev
|
|
|
|
libedit-dev
|
|
|
|
libtool
|
2022-08-29 06:50:30 +00:00
|
|
|
musl-fts-dev
|
2022-08-20 22:23:06 +02:00
|
|
|
openssl-dev
|
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-dev
|
|
|
|
neo4j-client
|
|
|
|
neo4j-client-doc
|
|
|
|
"
|
2016-07-29 15:25:00 +02:00
|
|
|
source="https://github.com/cleishm/libneo4j-client/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
|
|
|
|
|
|
|
|
build() {
|
2022-08-20 20:30:48 +00:00
|
|
|
export CFLAGS="$CFLAGS -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=nonnull"
|
2022-08-20 22:23:06 +02:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--build=$CBUILD \
|
|
|
|
--host=$CHOST \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--disable-doxygen-html \
|
|
|
|
--disable-doxygen-pdf
|
|
|
|
make
|
|
|
|
|
2016-07-29 15:25:00 +02:00
|
|
|
}
|
|
|
|
|
2017-11-13 23:04:31 -05:00
|
|
|
check() {
|
2022-08-20 22:23:06 +02:00
|
|
|
make LIBS="-lfts" check
|
2017-11-13 23:04:31 -05:00
|
|
|
}
|
|
|
|
|
2016-07-29 15:25:00 +02:00
|
|
|
package() {
|
2022-08-20 22:23:06 +02:00
|
|
|
make DESTDIR="$pkgdir" install
|
2017-11-13 23:04:31 -05:00
|
|
|
}
|
|
|
|
|
2016-07-29 15:25:00 +02:00
|
|
|
client() {
|
2022-08-20 22:23:06 +02:00
|
|
|
pkgdesc="Command line shell for Neo4j"
|
2016-07-29 15:25:00 +02:00
|
|
|
|
2022-08-20 22:23:06 +02:00
|
|
|
amove usr/bin/neo4j-client
|
2016-07-29 15:25:00 +02:00
|
|
|
}
|
2017-11-13 23:04:31 -05:00
|
|
|
|
2022-08-20 20:30:48 +00:00
|
|
|
sha512sums="
|
|
|
|
973f8e49ee780b9ef8710dad057f264db1004523059ece5504af32c2ba5367e9199898d24aa133c017c953b0b750b2a23495765069c9a5ad470e8387a0eb4d9a libneo4j-client-2.2.0.tar.gz
|
|
|
|
"
|