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
>
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/libsigcxx
27 TITLE
:=typesafe callback system for standard C
++
28 URL
:=http
://libsigc.sourceforge.net
/
32 define Package
/libsigcxx
/description
33 It allows you to
define signals and to connect those signals to any
34 callback function
, either global or a member function
, regardless of
35 whether it is static or virtual.
38 TARGET_CFLAGS
+= $(FPIC
)
41 -fno-strict-aliasing
-fno-inline \
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/include
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/sigc
++-2.0 $(1)/usr
/include/
50 $(INSTALL_DIR
) $(1)/usr
/lib
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsigc-2.0.
{a
,so
*} $(1)/usr
/lib
/
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/sigc
++-2.0 $(1)/usr
/lib
/
53 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/sigc
++-2.0.
pc $(1)/usr
/lib
/pkgconfig
/
57 define Package
/libsigcxx
/install
58 $(INSTALL_DIR
) $(1)/usr
/lib
59 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsigc-2.0.so.
* $(1)/usr
/lib
/
62 $(eval
$(call BuildPackage
,libsigcxx
))