void-packages/srcpkgs/babl/template
2016-02-13 06:38:40 +01:00

26 lines
683 B
Bash

# Template build file for 'babl'.
pkgname=babl
version=0.1.16
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="http://ftp.gimp.org/pub/babl/${version%.*}/babl-$version.tar.bz2"
checksum=7d6ba55ec53ee6f6bf6945beec28839d09ff72376f4d83035eb379cd4f3e980e
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"
}
}