31 lines
800 B
Bash
31 lines
800 B
Bash
# 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
|
|
}
|
|
}
|