mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
weechat: bump version.
This commit is contained in:
79
net-irc/weechat/weechat-1.9.1.recipe
Normal file
79
net-irc/weechat/weechat-1.9.1.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
SUMMARY="Portable and multi-interface IRC client"
|
||||
DESCRIPTION="WeeChat (Wee Enhanced Environment for Chat) is a free chat \
|
||||
client, fast and light, designed for many operating systems. \
|
||||
It is highly customizable and extensible with scripts."
|
||||
HOMEPAGE="http://weechat.org"
|
||||
COPYRIGHT="2003-2016 Sébastien Helleu"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://weechat.org/files/src/weechat-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="a1968c41803677edb4486b5f4e14a86205afce45bf1e06cfe2c012bcd201f1cd"
|
||||
PATCHES="weechat-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
weechat${secondaryArchSuffix} = $portVersion
|
||||
cmd:weechat
|
||||
cmd:weechat_curses
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libgcrypt$secondaryArchSuffix
|
||||
lib:libgnutls$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
# for libgcrypt
|
||||
lib:libgpg_error$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
weechat${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
weechat$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libgcrypt$secondaryArchSuffix
|
||||
devel:libgnutls$secondaryArchSuffix
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++${secondaryArchSuffix}
|
||||
cmd:make
|
||||
cmd:pkg_config${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DWEECHAT_HOME=~/config/settings/weechat \
|
||||
-DSHAREDIR=$dataDir \
|
||||
..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
|
||||
make install
|
||||
|
||||
mkdir -p $(dirname $includeDir)
|
||||
mv $prefix/include $includeDir
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user