void-packages/srcpkgs/libspiro/template
2014-07-26 16:44:18 +02:00

32 lines
909 B
Text

# Template file for 'libspiro'
pkgname=libspiro
version=0.2
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/v${version}.tar.gz"
checksum=827e41932b3eb36cdc8a20c191cdd9c1b09d32791078f330f6f3f854403b9300
pre_configure() {
autoreconf -i
unset LDFLAGS # no --as-needed
}
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
}
}