mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
67 lines
1.6 KiB
Bash
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
|
|
}
|