void-packages/srcpkgs/libspiro/template
2015-02-01 14:46:22 +01:00

31 lines
800 B
Text

# Template file for 'libspiro'
pkgname=libspiro
version=0.3.20150131
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Simplifies the drawing of beautiful curves"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="https://github.com/fontforge/libspiro"
distfiles="https://github.com/fontforge/${pkgname}/archive/${version}.tar.gz"
checksum=e39db410e89710bce19542ddfba4efa4b03663fdbd6405c7073fc9d29d04240b
pre_configure() {
autoreconf -fi
}
post_install() {
vinstall libspiro.pc 644 usr/lib/pkgconfig
}
libspiro-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}