2 # Copyright (C) 2006-2010 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.bz2
15 PKG_SOURCE_URL
:=@GNOME
/libsigc
++/2.2
16 PKG_MD5SUM
:=d216ef85785e0d17eda9b0326cfdcf71
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/libsigcxx
25 TITLE
:=typesafe callback system for standard C
++
26 URL
:=http
://libsigc.sourceforge.net
/
30 define Package
/libsigcxx
/description
31 It allows you to
define signals and to connect those signals to any
32 callback function
, either global or a member function
, regardless of
33 whether it is static or virtual.
36 TARGET_CFLAGS
+= $(FPIC
)
39 -fno-strict-aliasing
-fno-inline \
46 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
47 DESTDIR
="$(PKG_INSTALL_DIR)" \
51 define Build
/InstallDev
52 $(INSTALL_DIR
) $(1)/usr
/include
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/sigc
++-2.0 $(1)/usr
/include/
54 $(INSTALL_DIR
) $(1)/usr
/lib
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsigc-2.0.
{a
,so
*} $(1)/usr
/lib
/
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/sigc
++-2.0 $(1)/usr
/lib
/
57 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
58 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/sigc
++-2.0.
pc $(1)/usr
/lib
/pkgconfig
/
61 define Package
/libsigcxx
/install
62 $(INSTALL_DIR
) $(1)/usr
/lib
63 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsigc-2.0.so.
* $(1)/usr
/lib
/
66 $(eval
$(call BuildPackage
,libsigcxx
))