void-packages/srcpkgs/pixman/template
2019-04-11 05:45:44 -03:00

35 lines
873 B
Bash

# Template file for 'pixman'
pkgname=pixman
version=0.38.4
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="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=84abb7fa2541af24d9c3b34bf75d6ac60cc94ac4410061bbb295b66a29221550
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"
}
}