1 # Copyright © 2016, 2022 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or any later version.
3 # This is free software: you are free to change and redistribute it.
4 # There is NO WARRANTY, to the extent permitted by law.
10 MY_P=openchange-$PV-VULCAN
12 DESCRIPTION="Library implementing the Microsoft Exchange protocol"
13 HOMEPAGE="http://openchange.org"
14 SRC_URI="https://github.com/openchange/openchange/archive/$MY_P.tar.gz"
21 RDEPEND=">=net-fs/samba-4"
26 "$FILESDIR/$P-no-automake.patch"
27 "$FILESDIR/$P-no-useless-cflags.patch"
28 "$FILESDIR/$P-no-recompile-on-install.patch"
29 "$FILESDIR/$P-no-build-tests.patch"
30 "$FILESDIR/$P-configure-bashisms.patch"
31 "$FILESDIR/$P-update-credentials-api.patch"
32 "$FILESDIR/$P-update-ndr-api.patch"
33 "$FILESDIR/$P-fix-pidl-compilation.patch"
36 S=$WORKDIR/openchange-$MY_P
44 econf MYSQL_CONFIG=/bin/true \
45 NANOMSG_CFLAGS=' ' NANOMSG_LIBS=' ' \
46 MEMCACHED_CFLAGS=' ' MEMCACHED_LIBS=' ' \
47 MANUALLY_CREATE_SYMLINKS=yes \
48 --disable-pyopenchange
52 emake libmapi$(usex cxx xx '')
56 emake DESTDIR="$D" libmapi-install $(usex cxx libmapixx-install '')