smlinux/net/weechat/smbuild

37 lines
875 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=weechat
version=3.8
build=2sml
homepage="http://www.weechat.org"
download="https://weechat.org/files/src/weechat-$version.tar.xz"
desc="Fast, modular text-mode IRC client"
requires="netbsd-curses openssl curl libidn libtasn1 nettle gmp gnutls libgcrypt aspell perl python3"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_PHP=OFF \
-DENABLE_TCL=OFF \
-DENABLE_GUILE=OFF \
make
make install DESTDIR=$pkg
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
5e12e9cbaf617a2209ccf8486896fc06ef0e8c6fccf230fc9c0f1311ae503a48374bfe7689d737f838195c77b83b53f2331a4b6bb35e73e304d6958316c01bd0 weechat-3.8.tar.lz
"