void-packages/srcpkgs/libsigc++/template
2016-09-15 12:28:04 +02:00

25 lines
748 B
Bash

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