void-packages/srcpkgs/libsigc++/template

26 lines
813 B
Bash

# Template file for 'libsigc++'
pkgname=libsigc++
version=2.10.1
revision=1
build_style=gnu-configure
configure_args="--enable-static --disable-documentation --disable-benchmark"
hostmakedepends="m4"
short_desc="Type-safe callback system for C++ programs"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="LGPL-2.1-or-later"
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=c9a25f26178c6cbb147f9904d8c533b5a5c5111a41ac2eb781eb734eea446003
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"
}
}