void-packages/srcpkgs/libsigc++/template
2015-05-18 18:47:27 +02:00

25 lines
748 B
Bash

# Template file for 'libsigc++'
pkgname=libsigc++
version=2.4.1
revision=2
build_style=gnu-configure
hostmakedepends="m4"
configure_args="--enable-static --disable-documentation"
short_desc="Type-safe callback system for C++ programs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://libsigc.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=540443492a68e77e30db8d425f3c0b1299c825bf974d9bfc31ae7efafedc19ec
libsigc++-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
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"
}
}