34 lines
896 B
Bash
34 lines
896 B
Bash
# Template build file for 'pixman'.
|
|
pkgname=pixman
|
|
version=0.32.6
|
|
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=201fc0d7d6bc0017496f2bd27b3ca14224aea0df6b624c5ee2dc0307a4ff14a4
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) configure_args+=" --disable-arm-iwmmxt --disable-arm-iwmmxt2";;
|
|
esac
|
|
}
|
|
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"
|
|
}
|
|
}
|