summaryrefslogtreecommitdiff
path: root/community-testing/znc
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/znc')
-rw-r--r--community-testing/znc/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community-testing/znc/PKGBUILD b/community-testing/znc/PKGBUILD
new file mode 100644
index 000000000..0bc108944
--- /dev/null
+++ b/community-testing/znc/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 47765 2011-05-25 13:51:21Z tdziedzic $
+# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
+# Contributor: mickael9 <mickael9 at gmail dot com>
+
+pkgname=znc
+pkgver=0.098
+pkgrel=3
+pkgdesc='An IRC bouncer with modules & scripts support'
+url='http://en.znc.in/wiki/index.php/ZNC'
+license=('GPL2')
+arch=('i686' 'x86_64')
+
+depends=('c-ares' 'gcc-libs' 'openssl')
+makedepends=('swig' 'tcl' 'python' 'perl' 'cyrus-sasl')
+optdepends=('tcl: modtcl module'
+ 'python: modpython module'
+ 'perl: modperl module'
+ 'cyrus-sasl: saslauth module')
+
+source=("http://znc.in/releases/znc-${pkgver}.tar.gz")
+md5sums=('5667b4acb1f01309d6eded77abac700c')
+
+build() {
+ cd znc-${pkgver}
+
+ ./configure --prefix=/usr \
+ --enable-sasl \
+ --enable-tcl \
+ --enable-python \
+ --enable-perl \
+ --enable-extra
+
+ make
+}
+
+package() {
+ cd znc-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}