diff options
author | Russ Webber <russ@rw.id.au> | 2019-07-02 10:09:30 +1000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-21 21:28:03 -0300 |
commit | bd03354bcdd375eb8cf050be58ab552cc495cdbb (patch) | |
tree | cbdccca1110aec46a4f3e173f0b293f5a96ea0ee /non-free | |
parent | 779de61887897cdc6376e03f32272bc4a4b7a991 (diff) | |
download | alpine_aports-bd03354bcdd375eb8cf050be58ab552cc495cdbb.tar.bz2 alpine_aports-bd03354bcdd375eb8cf050be58ab552cc495cdbb.tar.xz alpine_aports-bd03354bcdd375eb8cf050be58ab552cc495cdbb.zip |
non-free/mongo-c-driver: move to testing, upgrade to 1.14
Diffstat (limited to 'non-free')
-rw-r--r-- | non-free/mongo-c-driver/APKBUILD | 61 | ||||
-rw-r--r-- | non-free/mongo-c-driver/generate_uninstall.patch | 13 |
2 files changed, 0 insertions, 74 deletions
diff --git a/non-free/mongo-c-driver/APKBUILD b/non-free/mongo-c-driver/APKBUILD deleted file mode 100644 index 1bc9626d0c..0000000000 --- a/non-free/mongo-c-driver/APKBUILD +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> | ||
2 | pkgname=mongo-c-driver | ||
3 | pkgver=1.13.0 | ||
4 | pkgrel=0 | ||
5 | pkgdesc="Client library written in C for MongoDB" | ||
6 | url="https://github.com/mongodb/mongo-c-driver" | ||
7 | arch="all !x86 !armhf !armv7" # testsuite fails on x86 and armhf | ||
8 | license="Apache-2.0" | ||
9 | makedepends="openssl-dev snappy-dev zlib-dev libtool py3-sphinx cmake" | ||
10 | subpackages="$pkgname-dev $pkgname-doc libbson" | ||
11 | source="https://github.com/mongodb/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz | ||
12 | generate_uninstall.patch | ||
13 | " | ||
14 | builddir="$srcdir/$pkgname-$pkgver" | ||
15 | |||
16 | case "$CARCH" in | ||
17 | # FIXME: Tests hang on aarch64. | ||
18 | aarch64) options="!check";; | ||
19 | esac | ||
20 | |||
21 | build() { | ||
22 | mkdir -p "$srcdir"/build | ||
23 | cd "$srcdir"/build | ||
24 | cmake \ | ||
25 | -DCMAKE_BUILD_TYPE=Release \ | ||
26 | -DCMAKE_INSTALL_PREFIX=/usr \ | ||
27 | -DCMAKE_INSTALL_LIBDIR=lib \ | ||
28 | -DENABLE_BSON:STRING=ON \ | ||
29 | -DENABLE_MONGOC:BOOL=ON \ | ||
30 | -DENABLE_SSL:STRING=OPENSSL \ | ||
31 | -DENABLE_AUTOMATIC_INIT_AND_CLEANUP:BOOL=OFF \ | ||
32 | -DENABLE_MAN_PAGES:BOOL=ON \ | ||
33 | -DENABLE_TESTS:BOOL=ON \ | ||
34 | -DENABLE_EXAMPLES:BOOL=OFF \ | ||
35 | -DSPHINX_EXECUTABLE:STRING=/usr/bin/sphinx-build-3 \ | ||
36 | -DCMAKE_SKIP_RPATH=ON \ | ||
37 | "$builddir" | ||
38 | make | ||
39 | } | ||
40 | |||
41 | check() { | ||
42 | cd "$srcdir"/build | ||
43 | export MONGOC_TEST_SKIP_MOCK=on | ||
44 | export MONGOC_TEST_SKIP_SLOW=on | ||
45 | export MONGOC_TEST_SKIP_LIVE=on | ||
46 | make check | ||
47 | } | ||
48 | |||
49 | package() { | ||
50 | cd "$srcdir"/build | ||
51 | make DESTDIR="$pkgdir" install | ||
52 | } | ||
53 | |||
54 | libbson() { | ||
55 | pkgdesc="Building, parsing, and iterating BSON documents" | ||
56 | mkdir -p "$subpkgdir"/usr/lib | ||
57 | mv "$pkgdir"/usr/lib/libbson-* "$subpkgdir"/usr/lib/ | ||
58 | } | ||
59 | |||
60 | sha512sums="01b17857a1cb843b133975594772c094edecb6c149d8628eaa42de1855152185114186d0e8d829e99c9106c133018b1242e34e3ac511a36b2b7a38baea5f5aba mongo-c-driver-1.13.0.tar.gz | ||
61 | 494800bb53585f2b911b672263d32e2af1ce818bbff55623fde8c06477429010e9ca31b905175a08d1554499c497af6514f74c9071f4f9d9b2d82077d6ddad4f generate_uninstall.patch" | ||
diff --git a/non-free/mongo-c-driver/generate_uninstall.patch b/non-free/mongo-c-driver/generate_uninstall.patch deleted file mode 100644 index 1434ae4283..0000000000 --- a/non-free/mongo-c-driver/generate_uninstall.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
2 | index f7a0dfe..d63b93e 100644 | ||
3 | --- a/CMakeLists.txt | ||
4 | +++ b/CMakeLists.txt | ||
5 | @@ -347,7 +347,7 @@ set (UNINSTALL_PROG_DIR "${CMAKE_INSTALL_FULL_DATADIR}/mongo-c-driver") | ||
6 | # | ||
7 | # This needs to be last (after all other add_subdirectory calls) to ensure that | ||
8 | # the generated uninstall program is complete and correct | ||
9 | -add_subdirectory (generate_uninstall) | ||
10 | +# add_subdirectory (generate_uninstall) | ||
11 | |||
12 | add_custom_target (uninstall | ||
13 | COMMAND "${UNINSTALL_PROG_DIR}/${UNINSTALL_PROG}" | ||