summaryrefslogtreecommitdiffstats
path: root/main/dircproxy/APKBUILD
blob: becb8133ae9b6b1f9ae0d02687b2954d7ce5a42c (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dircproxy
pkgver=1.1.0
pkgrel=0
pkgdesc="IRC proxy server designed for people who use IRC from lots of different workstations or clients"
url="http://code.google.com/p/dircproxy/"
license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://dircproxy.googlecode.com/files/$pkgname-$pkgver.tar.gz
	1.0.5-CVE-2007-5226.patch
	1.1.0-less-lag-on-attach.patch
	dircproxy-gcc4.patch
	"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	for i in ../*.patch; do
		msg "Applying $i..."
		patch -p1 -i $i || return 1
	done

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install

	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="066bd39d80f286ae5ce69a2adbbd01e4  dircproxy-1.1.0.tar.gz
fdd98d0bad6ef36afba7fa2604c43520  1.0.5-CVE-2007-5226.patch
a83ab2a3bce526ba0d8f8a05c88f9a47  1.1.0-less-lag-on-attach.patch
3b70d62b2eb88013548871e634e33c43  dircproxy-gcc4.patch"