diff options
author | davidovski <david@davidovski.xyz> | 2022-06-03 13:05:13 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-03 13:05:13 +0100 |
commit | 66c326b6d65388e9f1003715ad9675505f01f9d2 (patch) | |
tree | 40d7355cccfa3464902cf339a563e744c28a7101 /repo/weechat | |
parent | fccdaa986f67f820df2914bef851d5fed77abac8 (diff) |
added porting from alpine linux
Diffstat (limited to 'repo/weechat')
-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 +} + + |