2010-04-16 07:30:22 +00:00
|
|
|
# Template file for 'libsigc++'
|
|
|
|
pkgname=libsigc++
|
2013-09-26 12:49:34 +00:00
|
|
|
version=2.3.1
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-25 17:00:59 +00:00
|
|
|
configure_args="--enable-static --disable-documentation"
|
2010-04-16 07:30:22 +00:00
|
|
|
short_desc="Type-safe callback system for C++ programs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-24 22:23:42 +00:00
|
|
|
homepage="http://libsigc.sourceforge.net/"
|
|
|
|
license="LGPL-2.1"
|
2013-09-26 12:49:34 +00:00
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=67d05852b31fdb267c9fdcecd40b046a11aa54d884435e99e3c60dd20cd60393
|
2010-04-16 07:30:22 +00:00
|
|
|
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."
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libsigc++-devel_package() {
|
|
|
|
depends="libsigc++>=${version}"
|
2013-09-26 12:49:34 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/sigc++-2.0
|
|
|
|
vmove "usr/lib/*.a"
|
2013-09-26 12:49:34 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libsigc++_package() {
|
|
|
|
pkg_install() {
|
2013-09-26 12:49:34 +00:00
|
|
|
vmove all
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|