mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/libneo4j-client: modernize
This commit is contained in:
parent
d6435eed9d
commit
17615b30db
@ -14,24 +14,23 @@ install=""
|
||||
subpackages="$pkgname-dev $pkgname-doc::noarch neo4j-client:client neo4j-client-doc::noarch"
|
||||
source="https://github.com/cleishm/libneo4j-client/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir"/"$pkgname-$pkgver"
|
||||
builddir="$srcdir"/"$pkgname-$pkgver"
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|| return 1
|
||||
make || return 1
|
||||
make doc || return 1
|
||||
--prefix=/usr
|
||||
make
|
||||
make doc
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_builddir"
|
||||
make LIBS="-lfts" check || return 1
|
||||
cd "$builddir"
|
||||
make LIBS="-lfts" check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
mkdir -p "$pkgdir"/usr/share/doc/libneo4j-client
|
||||
mv doc/html/* "$pkgdir"/usr/share/doc/libneo4j-client/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user