void-packages/srcpkgs/pixman/template
2019-02-11 22:40:01 -02:00

34 lines
863 B
Bash

# Template file for 'pixman'
pkgname=pixman
version=0.38.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@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=b768e3f7895ddebdc0f07478729d9cec4fe0a9d2201f828c900d67b0e5b436a8
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
arm*) configure_args+=" --disable-arm-iwmmxt --disable-arm-iwmmxt2";;
esac
}
post_install() {
vlicense COPYING
}
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"
}
}