mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/libbson: modernize APKBUILD, cleanup, disable check()
This commit is contained in:
parent
0f70f1f503
commit
f352bfdc27
@ -1,18 +1,16 @@
|
||||
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
pkgname=libbson
|
||||
pkgver=1.9.2
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="routines related to building, parsing, and iterating BSON documents"
|
||||
url="https://github.com/mongodb/libbson"
|
||||
arch="all"
|
||||
license="Apache-2.0"
|
||||
depends=
|
||||
depends_dev=
|
||||
makedepends="$depends_dev autoconf automake libtool"
|
||||
install=
|
||||
checkdepends="bash"
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
options="!check" # segfaults
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mongodb/libbson/archive/$pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
prepare() {
|
||||
@ -26,16 +24,17 @@ build() {
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
|
||||
# remove the 2 lines below (and this) if there is no init.d script
|
||||
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
|
||||
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="a05f1e8fbabb34e847692397e2e41fc5923ddd18dba861e5ab8a31acdf6738e13ab719eae8f9f8563f08fc43aab5c8d1f53cb6a47c38c96e132fa4a62a48d2bf libbson-1.9.2.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user