aboutsummaryrefslogtreecommitdiffstats
path: root/community/bitchx/APKBUILD
blob: e31e09306c1124fe51526edf9bacbc9e8855d061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Contributor: 
# Maintainer: 
pkgname=bitchx
pkgver=1.2.1
pkgrel=9
pkgdesc="An IRC client"
url="http://www.bitchx.org/"
arch="all"
license="BSD"
makedepends="tcl-dev openssl-dev ncurses-dev coreutils automake autoconf libtool"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/bitchx/ircii-pana/bitchx-$pkgver/bitchx-$pkgver.tar.gz
	fix-inline.patch
	openssl-1.1.patch
	"

builddir="$srcdir"/bitchx-$pkgver
prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-ssl \
		--enable-ipv6 \
		--with-plugins
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="d5e0a151c69a85cca2544db8478af9fbd8fca17f882993fab7f898a95221087bf6219ad2144caedecb5bc508dfa02fa724737c615fbda47aeb8df8298cdfd645  bitchx-1.2.1.tar.gz
39398c5cec2621971ee8ad2ee011fb99eaa43655350b346df7de9c3fa74ace4b7caf07953618180160e93f9769bbbd143d942c57599b8ac6a082d60d48ab4672  fix-inline.patch
64e13d841ce0699ad419716a4b1404bab5961409cccea10f6dc46bb38e160aa62e1c2b8993e984ee2be681a951e29cf5d7c5f54ad232a20d6ed6ba11cda7dd2d  openssl-1.1.patch"