void-packages/srcpkgs/libgdiplus/template

25 lines
819 B
Bash

# Template file for 'libgdiplus'
pkgname=libgdiplus
version=4.2
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.mono-project.com/"
license="LGPL-2.1, MPL-1.1, MIT"
distfiles="http://download.mono-project.com/sources/${pkgname}/$pkgname-$version.tar.gz"
checksum=f332b9b8b44fd1c50b8d8d01a7296360b806c790b8297614739b3de1edbadfeb
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
}
}