mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
- 1.2 is not backwards compatible so keep it around, - Upgrade 2.2 to 2.4 which is easier to build.
73 lines
1.8 KiB
Plaintext
73 lines
1.8 KiB
Plaintext
SUMMARY="Callback Framework for C++"
|
|
DESCRIPTION="A typesafe callback system for standard C++. It allows you to \
|
|
define signals and to connect those signals to any callback function, either \
|
|
global or a member function, regardless of whether it is static or virtual.
|
|
|
|
It also contains adaptor classes for connection of dissimilar callbacks and \
|
|
has an ease of use unmatched by other C++ callback libraries."
|
|
|
|
HOMEPAGE="http://libsigc.sourceforge.net/stable.shtml"
|
|
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.4/libsigc++-$portVersion.tar.xz"
|
|
#CHECKSUM_SHA256="355f2a580ea105514a1589610305ab1e3e0980aea19c3b427027dc160f6be06c"
|
|
REVISION="1"
|
|
ARCHITECTURES=""
|
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
# for a different secondary architecture.
|
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libsigc++$secondaryArchSuffix = $portVersion
|
|
lib:libsigc_2.0$secondaryArchSuffix = 0.0.0 compat = 0
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libstdc++$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libsigc++${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libsigc_2.0$secondaryArchSuffix = 0.0.0 compat = 0
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
libsigc++$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
# libtoolize --force --copy --install
|
|
# aclocal
|
|
# sh autogen.sh
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLib libsigc-2.0
|
|
rm $developLibDir/*.la
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $relativeDevelopDir
|
|
}
|
|
|
|
LICENSE="GNU LGPL v2.1"
|
|
COPYRIGHT="2002-2015 The libsigc++ Development Team"
|