summaryrefslogtreecommitdiff
path: root/user/bitlbee
diff options
context:
space:
mode:
Diffstat (limited to 'user/bitlbee')
-rw-r--r--user/bitlbee/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/bitlbee/APKBUILD b/user/bitlbee/APKBUILD
new file mode 100644
index 000000000..c61c98095
--- /dev/null
+++ b/user/bitlbee/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=bitlbee
+pkgver=3.5.1
+pkgrel=0
+pkgdesc="IRC gateway server to IM services"
+url="https://www.bitlbee.org"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.1-only AND BSD-2-Clause AND GPL-2.0-only AND ISC"
+depends=""
+makedepends="glib-dev gnutls-dev libgcrypt-dev linux-pam-dev python3"
+checkdepends="check-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://get.bitlbee.org/src/bitlbee-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --pam=1
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install install-dev
+}
+
+sha512sums="4eb3b0d3a92910c8dd789cd23338cc6296bf40212c5244fcb27a88ede10e86424ea59c78e719841863701a7fdd8c61819f2775f7b58833e287d9110e49d036f3 bitlbee-3.5.1.tar.gz"