mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
LibSigC++3 recipe (#850)
This commit is contained in:
66
dev-libs/libsigc++/libsigc++3-2.99.7.recipe
Normal file
66
dev-libs/libsigc++/libsigc++3-2.99.7.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
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"
|
||||
COPYRIGHT="2002-2015 The libsigc++ Development Team"
|
||||
LICENSE="GNU LGPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.99/libsigc++-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="e819884fec16ee20f97773361258b9a911580d5b64fd9da981ef0c80356ff5f9"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libsigc++$secondaryArchSuffix = $portVersion
|
||||
lib:libsigc_3.0$secondaryArchSuffix = 0.0.0 compat = 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsigc++${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsigc_3.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$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libsigc-3.0
|
||||
|
||||
rm $developLibDir/*.la
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$relativeDevelopDir
|
||||
}
|
||||
Reference in New Issue
Block a user