void-packages/srcpkgs/libspiro/template

32 lines
800 B
Plaintext
Raw Normal View History

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