void-packages/srcpkgs/libsigc++/template

34 lines
1.3 KiB
Text

# Template file for 'libsigc++'
pkgname=libsigc++
version=2.3.1
revision=1
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}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=67d05852b31fdb267c9fdcecd40b046a11aa54d884435e99e3c60dd20cd60393
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+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/sigc++-2.0
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}