# Template file for 'libsigc++'
pkgname=libsigc++
version=2.2.11
revision=2
build_style=gnu-configure
configure_args="--enable-static --disable-documentation"
short_desc="Type-safe callback system for C++ programs"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://libsigc.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/${pkgname}/2.2/${pkgname}-${version}.tar.xz"
checksum=9834045f74f56752c2c6b3cdc195c30ab8314ad22dc8e626d6f67f940f1e4957
long_desc="
 libsigc++ implements a full callback system for use in widget
 libraries, abstract interfaces, and general programming. Originally
 part of the Gtk-- widget set, libsigc++ is now a separate library to
 provide for more general use. It is the most complete library of its
 kind with the ability to connect an abstract callback to a class
 method, function, or function object. It contains adaptor classes for
 connection of dissimilar callbacks and has an ease of use unmatched by
 other C++ callback libraries. Libsigc++ is licensed under the GNU
 Library General Public License, LGPL."

libsigc++-devel_package() {
	depends="libsigc++>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/sigc++-2.0
		vmove "usr/lib/*.a"
	}
}

libsigc++_package() {
	pkg_install() {
		vmove usr
	}
}