void-packages/srcpkgs/babl/template

27 lines
691 B
Bash
Raw Normal View History

# Template build file for 'babl'.
pkgname=babl
2016-12-12 11:35:10 +01:00
version=0.1.22
2015-06-09 11:11:44 +02:00
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"
2015-06-09 11:11:44 +02:00
distfiles="http://ftp.gimp.org/pub/babl/${version%.*}/babl-$version.tar.bz2"
2016-12-12 11:35:10 +01:00
checksum=f38a02e76fb96f4119ca82b4088c23f9183b9601cae19c1d8147e3ee8eaf2cca
pre_configure() {
autoreconf -fi
}
babl-devel_package() {
2016-11-24 18:02:58 +01:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
2013-04-16 12:59:37 +02:00
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}