void-packages/srcpkgs/libgdiplus/template

24 lines
801 B
Bash

# Template file for 'libgdiplus'
pkgname=libgdiplus
version=3.12
revision=1
build_style=gnu-configure
configure_args="--with-cairo=system"
hostmakedepends="pkg-config"
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.eu>"
homepage="http://www.go-mono.org"
license="LGPL-2, MPL"
distfiles="http://download.mono-project.com/sources/${pkgname}/$pkgname-$version.tar.gz"
checksum=e61c4dc1bc2ba993e4f79029472efcf5760eb9e60eb20d9cd31f0ebe9113bfc9
libgdiplus-devel_package() {
short_desc+=" - development files"
depends="libgdiplus>=${version}_${revision}"
pkg_install() {
# the .so symlink is needed at runtime
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}