commit 952197c07e9c164a1b5a1891d543b305acbc9618
parent 3cc702ff0729dee20932a2f501511e053f0ba486
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 5 Jun 2014 16:27:57 +0200
add libsigcpp
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
5 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/libsigcpp/checksums b/libsigcpp/checksums
@@ -0,0 +1 @@
+8c9aa63c56e978ec3e38fda9919ffbba173b97342d0e19d0ae3126e9edb97aa1d42e79897a65b054044e87604f67f1f804db8d7a8e3dc68540b1441188b8a1ef libsigc++-2.3.1.tar.xz
diff --git a/libsigcpp/depsinc.mk b/libsigcpp/depsinc.mk
@@ -0,0 +1,6 @@
+<$libsigcpp_DEPDIR/v.mk
+
+libsigcpp_libdir = $libsigcpp_DEPDIR/libsigc++-$v/lib/lib
+libsigcpp_includedir = $libsigcpp_DEPDIR/libsigc++-$v/lib/include/sigc++-2.0
+DEPS_CFLAGS = $DEPS_CFLAGS -I${libsigcpp_includedir} -I${libsigcpp_libdir}/sigc++-2.0/include
+DEPS_LDFLAGS = $DEPS_LDFLAGS -L${libsigcpp_libdir} -lsigc-2.0
diff --git a/libsigcpp/libsigcpp.mk b/libsigcpp/libsigcpp.mk
@@ -0,0 +1,17 @@
+TARG = libsigcpp
+
+<$mkbuild/mk.common-noinst
+
+libsigcpp:QV:
+# export CFLAGS="$CFLAGS $DEPS_CFLAGS"
+# export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
+ CC="$CC" ./configure \
+ --prefix="$PREFIX" \
+ --mandir="$ROOT/share/man" \
+ --disable-shared \
+ --disable-documentation \
+ --enable-static
+ # make install for use as a dependency.
+ make -j$nprocs DESTDIR=`pwd`/lib install
+ # remove .la files for now ?
+ find `pwd`/lib -iname "*.la" -exec rm {} \;
diff --git a/libsigcpp/mkfile b/libsigcpp/mkfile
@@ -0,0 +1,7 @@
+<$mkbuild/mk.3rdparty
+
+<v.mk
+
+src = libsigc++-$v
+url = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.3/libsigc++-$v.tar.xz
+mkfile = ../libsigcpp.mk
diff --git a/libsigcpp/v.mk b/libsigcpp/v.mk
@@ -0,0 +1 @@
+v = 2.3.1