void-packages/srcpkgs/qalculate/template

34 lines
960 B
Text
Raw Normal View History

2014-07-30 13:29:57 +00:00
# Template file for 'qalculate'
pkgname=qalculate
version=0.9.7
wrksrc="lib${pkgname}-${version}"
2014-07-31 06:17:32 +00:00
revision=2
2014-07-30 13:29:57 +00:00
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="intltool pkg-config"
makedepends="libxml2-devel glib-devel cln-devel readline-devel"
2014-07-30 13:29:57 +00:00
license="GPL-2"
homepage="http://qalculate.sourceforge.net/"
short_desc="A multi-purpose desktop calculator"
2014-11-01 20:53:39 +00:00
distfiles="${SOURCEFORGE_SITE}/qalculate/lib${pkgname}-${version}.tar.gz"
2014-07-30 13:29:57 +00:00
checksum=9a6d97ce3339d104358294242c3ecd5e312446721e93499ff70acc1604607955
libqalculate_package() {
short_desc+=" - library files"
pkg_install() {
vmove usr/lib/libqalculate.so.*
}
}
libqalculate-devel_package() {
short_desc+=" - development files"
depends="libqalculate>=${version}_${revision} glib-devel libxml2-devel cln-devel"
pkg_install() {
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig/
vmove usr/include/
vmove usr/share/doc/libqalculate-0.9.7/
}
}