void-packages/srcpkgs/libsigc++/template

26 lines
801 B
Bash

# Template file for 'libsigc++'
pkgname=libsigc++
version=2.10.3
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="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0b68dfc6313c6cc90ac989c6d722a1bf0585ad13846e79746aa87cb265904786
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"
}
}