void-packages/srcpkgs/libsigc++/template

26 lines
748 B
Bash

# Template file for 'libsigc++'
pkgname=libsigc++
version=2.6.2
revision=1
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=fdace7134c31de792c17570f9049ca0657909b28c4c70ec4882f91a03de54437
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"
}
}