vp-build/srcpkgs/libsigc++/template
2016-12-13 13:50:39 +01:00

26 lines
749 B
Bash

# Template file for 'libsigc++'
pkgname=libsigc++
version=2.10.0
revision=2
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=f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81
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"
}
}