summaryrefslogtreecommitdiff
path: root/manualPorts/libircclient/Pkgfile
blob: 805d6c15c032b512aeee2a99cd2ca245c49b1e02 (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
# Description: Small fast portable c library for writing irc clients and bots
# URL: http://www.ulduzsoft.com/libircclient/
# Contributor: xcko shrdlu, xcko at bitmessage dot ch
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: openssl

name=libircclient
version=1.10
release=1
source=(https://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz libircclient.diff)

build() {
	cd $name-$version
	patch -p1 -i $SRC/libircclient.diff
	./configure \
		--prefix=/usr \
		--libdir=/usr/lib \
		--enable-openssl \
		--enable-shared \
		--enable-ipv6

	make
	make DESTDIR=$PKG install
	gzip man/libircclient.1
	install -Dm644 man/libircclient.1.gz $PKG/usr/share/man/man1/libircclient.1.gz
}