void-packages/srcpkgs/freetype/template
2014-12-09 09:17:13 +01:00

26 lines
744 B
Text

# Template build file 'freetype'.
pkgname=freetype
version=2.5.4
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="zlib-devel bzip2-devel libpng-devel"
short_desc="Font rendering engine and library API"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freetype.org/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=3b4e2c666b33b32ad29ff0fe5c6538e757d3c73368e5dfa88bd59b4bc95cbabb
freetype-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
for f in bin include share; do
vmove usr/${f}
done
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}