0
0
Fork 0
haikuports/net-libs/libircclient/libircclient-1.8.recipe

67 lines
1.6 KiB
Bash

SUMMARY="An IRC client library"
DESCRIPTION="libircclient is a library implementing the client-server IRC protocol. \
It is designed to be small, fast, portable and compatible with the RFC standards \
as well as non-standard but popular features. It is perfect for building the IRC clients and bots."
HOMEPAGE="https://sourceforge.net/projects/libircclient/"
COPYRIGHT="2004-2012 George Yunaev"
LICENSE="GNU LGPL v2"
REVISION="5"
SOURCE_URI="http://downloads.sourceforge.net/project/libircclient/libircclient/$portVersion/libircclient-$portVersion.tar.gz"
CHECKSUM_SHA256="2cf8523ac683588f2785b08159a2df3e4d15939ee655c0024aa86334149de8f6"
PATCHES="libircclient-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libircclient$secondaryArchSuffix = $portVersion compat >= 1
lib:libircclient$secondaryArchSuffix = 1
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
"
PROVIDES_devel="
libircclient${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libircclient$secondaryArchSuffix = 1
"
REQUIRES_devel="
libircclient$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libssl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -f -i
runConfigure ./configure
make $jobArgs
cd src; make $jobArgs shared
}
INSTALL()
{
make install
prepareInstalledDevelLibs libircclient
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}