mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
188 lines
3.8 KiB
Bash
188 lines
3.8 KiB
Bash
SUMMARY="A text-based IRC client"
|
|
DESCRIPTION="Irssi is an IRC client written in the C programming language.\
|
|
It uses a text-mode user interface. Numerous Perl scripts have been \
|
|
made available for Irssi to customise how it looks and operates. Plugins \
|
|
are available which add encryption and protocols such as ICQ and XMPP."
|
|
HOMEPAGE="https://irssi.org/"
|
|
COPYRIGHT="1999-2019 Timo Sirainen
|
|
Valentin Batz (senneth, vb)
|
|
Wouter Coekaerts (coekie)
|
|
Jochen Eisinger (c0ffee)
|
|
Geert Hauwaerts (Geert)
|
|
Jilles Tjoelker (jilles)
|
|
Alexander Færøy (ahf)
|
|
Jase Thew (bazerka)
|
|
dequis (dx)
|
|
Ailin Nemui (Nei)
|
|
Giuseppe (TheLemonMan, lemonboy)
|
|
Emanuele Giaquinta (exg)
|
|
David Leadbeater (dg, dgl)
|
|
vjt
|
|
Joel Eriksson
|
|
Heikki Orsila
|
|
Mark Trumbull
|
|
Francesco Fracassi
|
|
Toby Peterson
|
|
Soren Jacobsen
|
|
Kuang-che Wu
|
|
Joost Vunderink (Garion)
|
|
Wang WenRui
|
|
Jean-Yves Lefort (decadix)
|
|
Joel Eriksson
|
|
Maarten van der Zwaart
|
|
Noah Levitt
|
|
Krzysztof Kowalik (Borys)
|
|
Peder Stray
|
|
mls
|
|
nix
|
|
Marcin Kowalczyk (Qrczak)
|
|
Petr Baudis
|
|
Bjoern Krombholz (fuchs)
|
|
aldem-irssi
|
|
BC-bd
|
|
Juerd
|
|
Han
|
|
pv2b
|
|
Tommi Komulainen (tommik)
|
|
mike
|
|
zinx
|
|
yathen
|
|
paul
|
|
Leszek Matok
|
|
tygrys
|
|
manoj
|
|
cph
|
|
ganesh
|
|
Jakub Jankowski (shasta)
|
|
vanilla
|
|
Tinuk
|
|
Mark Glines
|
|
Kjetil Ødegaard
|
|
Chris Moore
|
|
ComradeP
|
|
Lauri Nurmi
|
|
Mikko Rauhala
|
|
loafier
|
|
Nicolas Collignon
|
|
Daniel Koning
|
|
Yi-Hsuan Hsin
|
|
Jon Mayo
|
|
Johan Kiviniemi
|
|
JasonX
|
|
Lukas Mai (mauke)
|
|
Ismael Luceno
|
|
Thomas Karpiniec
|
|
Svante Kvarnström
|
|
Tom Feist (shabble)
|
|
Sebastian Thorarensen (Sebban)
|
|
Hans Nielsen
|
|
Jari Matilainen (vague)
|
|
Thibault B (isundil)
|
|
kyak
|
|
Vesa Pirila (Lohhari)
|
|
Haw Loeung
|
|
François Revol (mmuman)
|
|
blha303
|
|
Guillaume Brogi (guiniol)
|
|
Adam
|
|
Robert C Jensen
|
|
Paul Johnson
|
|
KindOne
|
|
Fabian Kurz
|
|
Todd Pratt
|
|
xavierog"
|
|
LICENSE="GNU GPL v2
|
|
OpenSSL GPL2 exception"
|
|
REVISION="5"
|
|
SOURCE_URI="https://github.com/irssi/irssi/releases/download/$portVersion/irssi-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="31653e8e0c5b1ef9b89905c330a0d77fe3f0592f88d163e504c1923dcd28ac47"
|
|
PATCHES="irssi-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/irssi.conf keep-old
|
|
"
|
|
|
|
PROVIDES="
|
|
irssi$secondaryArchSuffix = $portVersion
|
|
cmd:irssi$commandSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libncursesw$secondaryArchSuffix
|
|
lib:libperl$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
irssi${secondaryArchSuffix}_devel = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
irssi$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libncursesw$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage irssi$secondaryArchSuffix \
|
|
"$commandBinDir"/irssi
|
|
|
|
BUILD()
|
|
{
|
|
# remove unichar typedef in SupportDefs.h
|
|
cp /system/develop/headers/os/support/SupportDefs.h .
|
|
sed -i 's/unichar/unichar2/' SupportDefs.h
|
|
export CPPFLAGS="-include `pwd`/SupportDefs.h"
|
|
|
|
autoreconf -fi
|
|
runConfigure --omit-dirs binDir ./configure \
|
|
--bindir=$commandBinDir \
|
|
--with-perl=module \
|
|
--with-perl-lib=vendor \
|
|
--with-socks \
|
|
--with-proxy \
|
|
--enable-true-color \
|
|
--disable-static \
|
|
--disable-silent-rules
|
|
# perl MakeMaker doesn't support silent make rules
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# remove libtool files
|
|
rm $libDir/irssi/modules/lib*.la
|
|
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|