void-packages/srcpkgs/babl/template

29 lines
836 B
Bash

# Template build file for 'babl'.
pkgname=babl
version=0.1.10
revision=5
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="ftp://ftp.gimp.org/pub/babl/0.1/babl-$version.tar.bz2"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/babl/babl-${version}.tar.bz2/9e1542ab5c0b12ea3af076a9a2f02d79/babl-${version}.tar.bz2"
checksum=943fc36ceac7dd25bc928256bc7b535a42989c6b971578146869eee5fe5955f4
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"
}
}