void-packages/srcpkgs/pixman/template
2013-11-11 13:42:11 +01:00

34 lines
817 B
Text

# Template build file for 'pixman'.
pkgname=pixman
version=0.32.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=9d41612a6dd836726d4a681126a8d2db86fed2240a8ec027a4bfa2796e870e47
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"
vmove "usr/lib/*.so"
}
}
pixman_package() {
pkg_install() {
vmove all
}
}