void-packages/srcpkgs/libspiro/template
2014-11-06 21:10:46 +01:00

31 lines
800 B
Text

# Template file for 'libspiro'
pkgname=libspiro
version=0.2.20131203
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=d5c5efb06da1346c827957778c7cfde4108ccaf85639368ebd89624931155dd0
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
}
}