33 lines
864 B
Bash
33 lines
864 B
Bash
# Template build file for 'pixman'.
|
|
pkgname=pixman
|
|
version=0.32.8
|
|
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.eu>"
|
|
homepage="http://xorg.freedesktop.org"
|
|
license="MIT"
|
|
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
|
|
checksum=5c63dbb3523fc4d86ed4186677815918a941b7cb390d5eec4f55cb5d66b59fb1
|
|
|
|
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"
|
|
}
|
|
}
|