void-packages/srcpkgs/pixman/template

34 lines
793 B
Plaintext

# Template build file for 'pixman'.
pkgname=pixman
version=0.30.0
revision=1
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=77e756dc7fafdf17f39a4f23bdc8be59f9f6a65c08704f5cac1d8aa87cfaf517
post_install() {
vinstall COPYING 644 usr/share/licenses/$pkgname
}
pixman-devel_package() {
depends="pixman-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
pixman_package() {
pkg_install() {
vmove usr
}
}