# Template file for 'paps'
pkgname=paps
version=0.6.8
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="pango-devel freetype-devel"
short_desc="UTF-8 to PostScript converter via Pango"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL-2"
homepage="http://paps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=db214c4ea7ecde2f7986b869f6249864d3ff364e6f210c15aa2824bcbd850a20

post_configure() {
	sed -i 's/_LDFLAGS =/_LDADD +=/' src/Makefile
}

paps-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
	}
}

