33 lines
862 B
Bash
33 lines
862 B
Bash
# Template file for 'pixman'
|
|
pkgname=pixman
|
|
version=0.36.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=fd92c0cc99183977e54a278d7c595ee094a8e75724c03faf3796d1e49f7780dc
|
|
|
|
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"
|
|
}
|
|
}
|