void-packages/srcpkgs/libsigc++/template

26 lines
801 B
Bash

# Template file for 'libsigc++'
pkgname=libsigc++
version=2.10.2
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=b1ca0253379596f9c19f070c83d362b12dfd39c0a3ea1dd813e8e21c1a097a98
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"
}
}