2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'pixman'.
|
|
|
|
pkgname=pixman
|
2014-07-07 16:22:24 +00:00
|
|
|
version=0.32.6
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-20 08:05:31 +00:00
|
|
|
configure_args="--disable-gtk" # do not require gtk+!
|
2013-04-12 17:13:19 +00:00
|
|
|
hostmakedepends="pkg-config perl"
|
2008-10-01 15:07:54 +00:00
|
|
|
short_desc="Library of low-level pixel manipulation routines"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-13 13:17:04 +00:00
|
|
|
homepage="http://xorg.freedesktop.org"
|
|
|
|
license="MIT"
|
2012-06-30 13:47:02 +00:00
|
|
|
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
|
2014-07-07 16:22:24 +00:00
|
|
|
checksum=201fc0d7d6bc0017496f2bd27b3ca14224aea0df6b624c5ee2dc0307a4ff14a4
|
2009-03-19 03:40:14 +00:00
|
|
|
|
2014-07-07 16:27:47 +00:00
|
|
|
pre_configure() {
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
arm*) configure_args+=" --disable-arm-iwmmxt --disable-arm-iwmmxt2";;
|
|
|
|
esac
|
|
|
|
}
|
2011-11-07 09:32:59 +00:00
|
|
|
post_install() {
|
2011-07-13 13:17:04 +00:00
|
|
|
vinstall COPYING 644 usr/share/licenses/$pkgname
|
|
|
|
}
|
2013-04-12 17:13:19 +00:00
|
|
|
|
|
|
|
pixman-devel_package() {
|
2013-11-11 12:42:11 +00:00
|
|
|
depends="pixman>=${version}_${revision}"
|
2013-05-09 18:56:51 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 17:13:19 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-08-07 20:22:42 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 17:13:19 +00:00
|
|
|
}
|
|
|
|
}
|