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