aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnjandev Momi <anjan@momi.ca>2021-06-08 12:04:33 -0700
committerLeo <thinkabit.ukim@gmail.com>2021-06-10 21:04:38 +0000
commitc3ee0c5107c1cd4e8ff159fe7d39e024a1e5ddef (patch)
treec4ae05b076db03bdfc61e90a7f4f1d277f183ce1
parentf91cc65772f845ff162d67f02db704f62857eb54 (diff)
downloadaports-c3ee0c5107c1cd4e8ff159fe7d39e024a1e5ddef.tar.gz
aports-c3ee0c5107c1cd4e8ff159fe7d39e024a1e5ddef.tar.bz2
aports-c3ee0c5107c1cd4e8ff159fe7d39e024a1e5ddef.tar.xz
testing/biboumi: new aport
https://biboumi.louiz.org/ XMPP to IRC gateway Co-authored-by: Leo <thinkabit.ukim@gmail.com>
-rw-r--r--testing/biboumi/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/biboumi/APKBUILD b/testing/biboumi/APKBUILD
new file mode 100644
index 0000000000..5a54e281a6
--- /dev/null
+++ b/testing/biboumi/APKBUILD
@@ -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
+"