void-packages/srcpkgs/babl/template
2015-06-09 11:26:34 +02:00

27 lines
708 B
Bash

# Template build file for 'babl'.
pkgname=babl
version=0.1.12
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config vala-devel"
makedepends="vala-devel"
short_desc="Dynamic pixel format translation library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gegl.org/babl/"
license="LGPL-3"
distfiles="http://ftp.gimp.org/pub/babl/${version%.*}/babl-$version.tar.bz2"
checksum=2f802b7f1a17b72c10bf0fe1e69b7a888cf7ce62b7cf1537b030f7f88d55a407
pre_configure() {
autoreconf -fi
}
babl-devel_package() {
depends="babl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}