REQUIRED="core datafile"
CFLAGS="-I$INCLUDEDIR `pkg-config --cflags sigc++-2.0`"
LIBS="`pkg-config --libs sigc++-2.0` -lpthread"
+if pkg-config --exists "sigc++-2.0 >= 2.5.1"; then
+ CFLAGS="$CFLAGS -std=c++11"
+fi
MACHINE="`uname -m`"
SYSTEM="`uname -s`"
if [ "$MACHINE" = "x86_64" ]; then
--- /dev/null
+binary_package "sigc++-2.0"
+{
+ build_info
+ {
+ library "sigc-2.0";
+ incpath "include/sigc++-2.0";
+ standard CXX "c++11";
+ };
+ if_arch "linux-64"
+ {
+ build_info
+ {
+ incpath "lib/x86_64-linux-gnu/sigc++-2.0/include";
+ };
+ };
+ if_arch "linux-32"
+ {
+ build_info
+ {
+ incpath "lib/i386-linux-gnu/sigc++-2.0/include";
+ };
+ };
+ if_arch "!linux"
+ {
+ build_info
+ {
+ incpath "lib/sigc++-2.0/include";
+ };
+ };
+ header "sigc++/sigc++.h";
+ header "sigc++config.h";
+};