void-packages/srcpkgs/freetype/template
2016-10-15 13:01:20 +02:00

26 lines
741 B
Bash

# Template build file 'freetype'.
pkgname=freetype
version=2.7
revision=1
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@voidlinux.eu>"
homepage="http://www.freetype.org/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=d6a451f5b754857d2aa3964fd4473f8bc5c64e879b24516d780fb26bec7f7d48
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
}
}