void-packages/srcpkgs/libspiro/template

32 lines
800 B
Text
Raw Normal View History

2014-07-26 14:24:34 +00:00
# Template file for 'libspiro'
pkgname=libspiro
2014-11-06 20:06:23 +00:00
version=0.2.20131203
2014-07-26 14:24:34 +00:00
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"
2014-11-06 20:06:23 +00:00
distfiles="https://github.com/fontforge/${pkgname}/archive/${version}.tar.gz"
checksum=d5c5efb06da1346c827957778c7cfde4108ccaf85639368ebd89624931155dd0
2014-07-26 14:24:34 +00:00
pre_configure() {
2014-11-06 20:06:23 +00:00
autoreconf -fi
2014-07-26 14:24:34 +00:00
}
post_install() {
vinstall libspiro.pc 644 usr/lib/pkgconfig
}
libspiro-devel_package() {
2014-11-06 20:06:23 +00:00
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
}
2014-07-26 14:24:34 +00:00
}