blob: 524b701c32bae8b0466f5c082e5123e8361dbbf2 (
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
47
48
49
50
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=charybdis
pkgver=3.4.0
pkgrel=0
pkgdesc="A highly-scalable IRCv3-compliant IRC daemon"
url="http://www.atheme.org/project/charybdis"
arch="all"
license="GPL2"
pkgusers="ircd"
depends=""
depends_dev="bison flex openssl-dev zlib-dev libtool"
makedepends="$depends_dev"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="saveas-http://www.stack.nl/~jilles/irc/$pkgname-$pkgver.tbz2/$pkgname-$pkgver.tar.bz2
$pkgname.initd
$pkgname.confd"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc/charybdis \
--localstatedir=/var \
--libexecdir=/usr/lib \
--disable-assert \
--enable-ssl \
--enable-ipv6 \
--with-rundir=/var/run \
--with-program-prefix=charybdis-
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/*.la
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/charybdis-ircd || return 1
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/charybdis-ircd || return 1
chown ircd "$pkgdir"/var/run/charybdis
chown ircd "$pkgdir"/var/log/charybdis
chown ircd "$pkgdir"/var/charybdis
}
md5sums="b31c126ae76938233d6a0a6d1123dce8 charybdis-3.4.0.tar.bz2
b11b3bba9a61f2b288ad83b62dbb67bf charybdis.initd
4bbd6b06a4389bd4826ab8ba7f76393a charybdis.confd"
|