2 # Copyright (C) 2006-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=@GNOME
/libsigc
++/2.3
16 PKG_MD5SUM
:=e75fbd6f5cc34d058a9dabec96245dc8
17 PKG_MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/libsigcxx
28 TITLE
:=typesafe callback system for standard C
++
29 URL
:=http
://libsigc.sourceforge.net
/
33 define Package
/libsigcxx
/description
34 It allows you to
define signals and to connect those signals to any
35 callback function
, either global or a member function
, regardless of
36 whether it is static or virtual.
39 TARGET_CFLAGS
+= $(FPIC
)
42 -fno-strict-aliasing
-fno-inline \
48 define Build
/InstallDev
49 $(INSTALL_DIR
) $(1)/usr
/include
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/sigc
++-2.0 $(1)/usr
/include/
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsigc-2.0.
{a
,so
*} $(1)/usr
/lib
/
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/sigc
++-2.0 $(1)/usr
/lib
/
54 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/sigc
++-2.0.
pc $(1)/usr
/lib
/pkgconfig
/
58 define Package
/libsigcxx
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsigc-2.0.so.
* $(1)/usr
/lib
/
63 $(eval
$(call BuildPackage
,libsigcxx
))