59 lines
1.4 KiB
Bash
59 lines
1.4 KiB
Bash
SUMMARY="Slack Enterprise chat and services on the command line"
|
|
DESCRIPTION="slack++ is an ncurses based client for the Searchable Log of All \
|
|
Conversation and Knowledge."
|
|
HOMEPAGE="https://github.com/ga2arch/slack"
|
|
COPYRIGHT="2018 Federico Di Pierro"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="7"
|
|
srcGitRev="f085f2a269d012c876e128db74d350754ec0ca30"
|
|
SOURCE_URI="https://github.com/ga2arch/slack/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="2b42d26328e666dbbd431e8f389234eb19fd56f4ad65997d3d442b0cb96a4b6a"
|
|
SOURCE_DIR="slack-$srcGitRev"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
slack++$secondaryArchSuffix = $portVersion
|
|
cmd:slack++$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libjsoncpp$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libjsoncpp$secondaryArchSuffix
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libcrypto$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
cmake -G "Unix Makefiles" ../ $cmakeDirArgs
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
mkdir -p $binDir
|
|
install -t $binDir -s slack++
|
|
}
|