void-packages/srcpkgs/pixman/template
2013-08-07 22:22:42 +02:00

34 lines
816 B
Text

# Template build file for 'pixman'.
pkgname=pixman
version=0.30.2
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=4fbb51788fe7cbd8abb5f80aed95ec878704e57a06328f7bebe0306e3822c96c
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 usr
}
}