summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRicardo Crudo <ricardo.crudo@gmail.com>2014-07-14 14:35:54 -0300
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-14 23:54:07 +0200
commit2b4cbde8579bc2f25548c66c62ffe9b5cbb5da1d (patch)
tree65ae6f1facd9afc6d9e1d47522bc64f54eea738f /packages
parent8320f84ba6f153021d3c99c7ac85800294e3bc93 (diff)
downloadembtoolkit-2b4cbde8579bc2f25548c66c62ffe9b5cbb5da1d.tar.gz
embtoolkit-2b4cbde8579bc2f25548c66c62ffe9b5cbb5da1d.tar.bz2
embtoolkit-2b4cbde8579bc2f25548c66c62ffe9b5cbb5da1d.tar.xz
Packages/misc: New libsigc++ v2.3.1
Signed-off-by: Ricardo Crudo <ricardo.crudo@gmail.com> Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/development/development.kconfig3
-rw-r--r--packages/development/development.mk3
-rw-r--r--packages/development/libsigcpp/libsigcpp.kconfig56
-rw-r--r--packages/development/libsigcpp/libsigcpp.mk37
4 files changed, 99 insertions, 0 deletions
diff --git a/packages/development/development.kconfig b/packages/development/development.kconfig
index eb43bef..0e619cf 100644
--- a/packages/development/development.kconfig
+++ b/packages/development/development.kconfig
@@ -50,6 +50,9 @@ source packages/development/libevent/libevent.kconfig
# libnih
source packages/development/libnih/libnih.kconfig
+# libsigc++
+source packages/development/libsigcpp/libsigcpp.kconfig
+
# libsigsegv
source packages/development/libsigsegv/libsigsegv.kconfig
diff --git a/packages/development/development.mk b/packages/development/development.mk
index 7a7033f..9c6ee70 100644
--- a/packages/development/development.mk
+++ b/packages/development/development.mk
@@ -53,6 +53,9 @@ $(call embtk_include_pkg,libevent)
# libnih
$(call embtk_include_pkg,libnih)
+# libsigc++
+$(call embtk_include_pkg,libsigcpp)
+
# libsigsegv
$(call embtk_include_pkg,libsigsegv)
diff --git a/packages/development/libsigcpp/libsigcpp.kconfig b/packages/development/libsigcpp/libsigcpp.kconfig
new file mode 100644
index 0000000..8d57d1e
--- /dev/null
+++ b/packages/development/libsigcpp/libsigcpp.kconfig
@@ -0,0 +1,56 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file libsigcpp.kconfig
+# \brief libsigcpp.kconfig of Embtoolkit
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \date July 2014
+################################################################################
+
+config EMBTK_HAVE_LIBSIGCPP
+ bool "Have libsigc++"
+ select EMBTK_GCC_LANGUAGE_CPP
+ help
+ libsigc++ implements 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.
+
+choice
+ prompt "libsigc++ version you wish"
+ depends on EMBTK_HAVE_LIBSIGCPP
+ help
+ Here you can choose which version of libsigc++ you want to use.
+
+ config EMBTK_LIBSIGCPP_VERSION_2_3_1
+ bool "libsigc++-2.3.1"
+endchoice
+
+config EMBTK_LIBSIGCPP_MAJOR_VERSION_STRING
+ string
+ default "2.3" if EMBTK_LIBSIGCPP_VERSION_2_3_1
+
+config EMBTK_LIBSIGCPP_VERSION_STRING
+ string
+ default "2.3.1" if EMBTK_LIBSIGCPP_VERSION_2_3_1
+
+config EMBTK_LIBSIGCPP_NEED_PATCH
+ bool
+config EMBTK_LIBSIGCPP_NEED_AUTORECONF
+ bool
diff --git a/packages/development/libsigcpp/libsigcpp.mk b/packages/development/libsigcpp/libsigcpp.mk
new file mode 100644
index 0000000..94c23d3
--- /dev/null
+++ b/packages/development/libsigcpp/libsigcpp.mk
@@ -0,0 +1,37 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file libsigcpp.mk
+# \brief libsigcpp.mk of Embtoolkit
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \date July 2014
+################################################################################
+
+LIBSIGCPP_NAME := libsigcpp
+LIBSIGCPP_MAJOR_VERSION := $(call embtk_get_pkgversion,libsigcpp_major)
+LIBSIGCPP_VERSION := $(call embtk_get_pkgversion,libsigcpp)
+LIBSIGCPP_SITE := http://ftp.gnome.org/pub/GNOME/sources/libsigc++/$(LIBSIGCPP_MAJOR_VERSION)
+LIBSIGCPP_PACKAGE := libsigc++-$(LIBSIGCPP_VERSION).tar.xz
+LIBSIGCPP_SRC_DIR := $(embtk_pkgb)/libsigc++-$(LIBSIGCPP_VERSION)
+LIBSIGCPP_BUILD_DIR := $(embtk_pkgb)/libsigc++-$(LIBSIGCPP_VERSION)
+
+LIBSIGCPP_INCLUDES := sigc++-2.0
+LIBSIGCPP_LIBS := libsigc* sigc++-2.0
+LIBSIGCPP_PKGCONFIGS := sigc++*.pc
+LIBSIGCPP_SHARES := doc/libsigc++-2.0 devhelp/books/libsigc++-2.0