aboutsummaryrefslogtreecommitdiffstats
path: root/community/retawq/APKBUILD
blob: 8c1fbd846aa9260bc1812909eb8c7061711e29c1 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=retawq
pkgver=0.2.6c
pkgrel=0
pkgdesc="retawq is an interactive, multi-threaded network client for text terminals"
url="http://retawq.sourceforge.net/"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev ncurses-dev openssl-dev"
install=""
subpackages="$pkgname-doc"
source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	./configure \
		--path-archprefix="$pkgdir"/usr \
		--path-prefix="$pkgdir"/usr \
		--path-man="$pkgdir"/usr/share/man \
		--path-doc="$pkgdir"/usr/share/doc/$pkgname \
		--enable-cookies \
		--enable-local-cgi \
		--set-tls=2 \
		--enable-ipv6 
	make || return 1
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/usr/share/man
	mkdir -p "$pkgdir"/usr/share/doc/$pkgname
	make DESTDIR="$pkgdir" install
}

md5sums="ee60188bea597680bd39e435a8c73ff9  retawq-0.2.6c.tar.gz"
sha256sums="a42e82494f00e054c2de1b065bbc8fb439d93eb69f9b97cc4868e71e48a9eae0  retawq-0.2.6c.tar.gz"
sha512sums="555f61460decf3108e85f0d0153d281a7b9a9fd2474563fcf47145bf969025ffcfad6d5dc0ae946bde11bdf880cc26ceb5cde3194194a1cbbaadc4a672a094f8  retawq-0.2.6c.tar.gz"