void-packages/srcpkgs/pixman/template

34 lines
806 B
Text
Raw Normal View History

# Template build file for 'pixman'.
pkgname=pixman
2012-12-10 20:52:21 +00:00
version=0.28.2
2013-03-20 08:05:31 +00:00
revision=3
build_style=gnu-configure
2013-03-20 08:05:31 +00:00
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@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"
2012-12-10 20:52:21 +00:00
checksum=583686afbfa5a1dfc40a21e888a3eacf31fe0e02469d20b821b5d8f719165a51
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
}
pixman-devel_package() {
depends="pixman-${version}_${revision}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
pixman_package() {
pkg_install() {
vmove usr
}
}