void-packages/srcpkgs/babl/template

27 lines
692 B
Bash

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