-
Notifications
You must be signed in to change notification settings - Fork 1
/
znc.cygport
43 lines (36 loc) · 1.94 KB
/
znc.cygport
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
NAME="znc"
VERSION=1.8.2
RELEASE=5
HOMEPAGE="https://znc.in/"
SRC_URI="https://znc.in/releases/archive/znc-${VERSION}.tar.gz"
PATCH_URI=""
PKG_NAMES="znc znc-devel znc-perl znc-python"
znc_SUMMARY="Advanced IRC bouncer"
znc_DESCRIPTION="ZNC is an IRC network bouncer (BNC). It can detach
the client from the actual IRC server, and also from selected channels.
Multiple clients from different locations can connect to a single ZNC account
simultaneously and therefore appear under the same nickname on IRC.
It supports SSL secured connections and IPv6."
znc_CONTENTS="usr"
znc_CATEGORY="Net"
znc_devel_SUMMARY="Modules development for ZNC"
znc_devel_DESCRIPTION="This package contains tools to build ZNC modules written on C++."
znc_devel_CONTENTS="usr/bin/znc-buildmod usr/include usr/lib/pkgconfig usr/lib/libznc.dll.a usr/share/znc/cmake"
znc_devel_CATEGORY="Net Devel"
znc_devel_REQUIRES="znc libssl-devel libicu-devel gcc-g++"
znc_perl_SUMMARY="Support for ZNC modules written on Perl"
znc_perl_DESCRIPTION="This package contains Perl bindings for ZNC."
znc_perl_CONTENTS="usr/lib/znc/modperl.so usr/lib/znc/modperl usr/lib/znc/*.pm"
znc_perl_CATEGORY="Net Perl"
znc_python_SUMMARY="Support for ZNC modules written on Python3"
znc_python_DESCRIPTION="This package contains Python3 bindings for ZNC."
znc_python_CONTENTS="usr/lib/znc/modpython.so usr/lib/znc/modpython usr/lib/znc/*.py"
znc_python_CATEGORY="Net Python"
for exclude in $znc_devel_CONTENTS $znc_perl_CONTENTS $znc_python_CONTENTS; do
znc_CONTENTS="--exclude=$exclude $znc_CONTENTS"
done
# libcrypt-devel is here only because modperl refuses to compile without it, but only on x86_64
BUILD_REQUIRES="zlib-devel libssl-devel libcrypt-devel libsasl2-devel libicu-devel gcc-g++ ninja pkg-config perl python3-devel cmake libboost-devel"
CYGCMAKE_ARGS="-DWANT_ZLIB=YES -DWANT_OPENSSL=YES -DWANT_CYRUS=YES -DWANT_ICU=YES -DWANT_PERL=YES -DWANT_PYTHON=YES -DVERSION_EXTRA=+cygwin$RELEASE"
inherit python3
inherit cmake