void-packages/srcpkgs/pixman/template

34 lines
793 B
Plaintext
Raw Normal View History

# Template build file for 'pixman'.
pkgname=pixman
2013-05-09 20:56:51 +02:00
version=0.30.0
revision=1
build_style=gnu-configure
2013-03-20 09:05:31 +01: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 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-05-09 20:56:51 +02:00
checksum=77e756dc7fafdf17f39a4f23bdc8be59f9f6a65c08704f5cac1d8aa87cfaf517
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
}
pixman-devel_package() {
depends="pixman-${version}_${revision}"
2013-05-09 20:56:51 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
pixman_package() {
pkg_install() {
vmove usr
}
}