void-packages/srcpkgs/freetype/template

27 lines
747 B
Bash
Raw Normal View History

# Template build file 'freetype'.
pkgname=freetype
2014-12-31 13:16:47 +01:00
version=2.5.5
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
2013-06-20 20:01:15 +02:00
makedepends="zlib-devel bzip2-devel libpng-devel"
short_desc="Font rendering engine and library API"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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"
2014-12-31 13:16:47 +01:00
checksum=387bcc4b780b12484aa2ec9f7db1a55d8286eb5639f45fbc0fbba7a4e5a1afb9
2013-06-20 18:00:34 +02:00
freetype-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2013-05-11 18:55:36 +02:00
short_desc+=" - development files"
pkg_install() {
for f in bin include share; do
vmove usr/${f}
done
vmove "usr/lib/*.a"
2013-11-25 14:33:59 +01:00
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}