void-packages/srcpkgs/libgdiplus/template

34 lines
898 B
Bash

# Template file for 'libgdiplus'
pkgname=libgdiplus
version=5.6
revision=1
build_style=gnu-configure
configure_args="--with-cairo=system"
hostmakedepends="pkg-config automake libtool"
makedepends="tiff-devel cairo-devel giflib-devel glib-devel libexif-devel libpng-devel"
short_desc="An Open Source Implementation of the GDI+ API"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://www.mono-project.com/"
license="LGPL-2.1, MPL-1.1, MIT"
distfiles="https://github.com/mono/${pkgname}/archive/${version}.tar.gz"
checksum=6a75e4a476695cd6a1475fd6b989423ecf73978fd757673669771d8a6e13f756
pre_configure() {
autoreconf -fiv
}
post_install() {
vlicense LICENSE
}
libgdiplus-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
# the .so symlink is needed at runtime
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}