void-packages/srcpkgs/pixman/template

33 lines
806 B
Text

# Template build file for 'pixman'.
pkgname=pixman
version=0.28.2
revision=3
build_style=gnu-configure
configure_args="--disable-gtk" # do not require gtk+!
hostmakedepends="pkg-config perl"
short_desc="Library of low-level pixel manipulation routines"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=583686afbfa5a1dfc40a21e888a3eacf31fe0e02469d20b821b5d8f719165a51
post_install() {
vinstall COPYING 644 usr/share/licenses/$pkgname
}
pixman-devel_package() {
depends="pixman-${version}_${revision}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
pixman_package() {
pkg_install() {
vmove usr
}
}