void-packages/srcpkgs/freetype/template

33 lines
761 B
Text
Raw Normal View History

# Template build file 'freetype'.
pkgname=freetype
2013-05-11 16:55:36 +00:00
version=2.4.12
revision=1
2010-12-17 14:12:46 +00:00
patch_args="-Np1"
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="zlib-devel"
short_desc="Font rendering engine and library API"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-07-09 16:11:15 +00:00
homepage="http://www.freetype.org/"
license="GPL-2"
2012-06-15 21:04:12 +00:00
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
2013-05-11 16:55:36 +00:00
checksum=a78a17486689ab6852a9e1a759b179827ac9dfd7e2f237ddf169c73398c85381
freetype-devel_package() {
depends="zlib-devel bzip2-devel freetype>=$version"
2013-05-11 16:55:36 +00:00
short_desc+=" - development files"
pkg_install() {
for f in bin include share; do
vmove usr/${f}
done
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
freetype_package() {
pkg_install() {
vmove usr
}
}