diff options
Diffstat (limited to 'repo/weechat/weechat.xibuild')
-rw-r--r-- | repo/weechat/weechat.xibuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/weechat/weechat.xibuild b/repo/weechat/weechat.xibuild new file mode 100644 index 0000000..f1a87f4 --- /dev/null +++ b/repo/weechat/weechat.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +NAME="weechat" +DESC="A fast, light, extensible ncurses-based chat client" + +MAKEDEPS="asciidoctor cmake gettext ncurses gnutls libgcrypt curl aspell lua perl python ruby zlib zstd" + +PKG_VER=3.5 +SOURCE="https://www.weechat.org/files/src/weechat-$PKG_VER.tar.gz" + +build() { + mkdir -p build + cd build + cmake .. \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_TCL=OFF \ + -DENABLE_NLS=OFF \ + -DENABLE_GUILE=OFF \ + -DENABLE_JAVASCRIPT=OFF \ + -DENABLE_PHP=OFF + make +} + +package() { + cd "$BUILD_ROOT"/build + make DESTDIR="$PKG_DEST/" install +} + + |