From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/weechat/weechat.xibuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 repo/weechat/weechat.xibuild (limited to 'repo/weechat/weechat.xibuild') 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 +} + + -- cgit v1.2.1