testing/biboumi: new aport

https://biboumi.louiz.org/
XMPP to IRC gateway

Co-authored-by: Leo <thinkabit.ukim@gmail.com>
This commit is contained in:
Anjandev Momi 2021-06-08 12:04:33 -07:00 committed by Leo
parent f91cc65772
commit c3ee0c5107

36
testing/biboumi/APKBUILD Normal file
View File

@ -0,0 +1,36 @@
# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=biboumi
pkgver=9.0
pkgrel=0
pkgdesc="XMPP to IRC gateway"
options="!check" # has no tests
url="https://biboumi.louiz.org/"
arch="all"
license="Zlib"
makedepends="cmake expat-dev gnu-libiconv-dev util-linux-dev postgresql-dev
libidn-dev udns-dev botan-dev"
subpackages="$pkgname-doc"
source="https://git.louiz.org/biboumi/snapshot/biboumi-$pkgver.tar.xz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-Wno-dev \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_BOTAN=True \
-DWITHOUT_SYSTEMD=False \
$CMAKE_CROSSOPTS .
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="
cfaacd831b56031906922472275c55fd6f1a5307ebe54959d21e3799ad4612499e8beeb34e8736df9eabc9fec1a861d17567250d64f316ace47395fd6c8f3c18 biboumi-9.0.tar.xz
"