void-packages/srcpkgs/freetype/template

33 lines
773 B
Plaintext
Raw Normal View History

# Template build file 'freetype'.
pkgname=freetype
2012-12-20 21:53:00 +01:00
version=2.4.11
revision=2
2010-12-17 15:12:46 +01: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 18:11:15 +02:00
homepage="http://www.freetype.org/"
license="GPL-2"
2012-06-15 23:04:12 +02:00
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
2012-12-20 21:53:00 +01:00
checksum=ef9d0bcb64647d9e5125dc7534d7ca371c98310fec87677c410f397f71ffbe3f
freetype-devel_package() {
depends="zlib-devel bzip2-devel freetype>=$version"
short_desc="${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
}
}