void-packages/srcpkgs/libgdiplus/template
2019-10-04 09:10:30 +02:00

33 lines
883 B
Bash

# Template file for 'libgdiplus'
pkgname=libgdiplus
version=6.0.4
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="Open Source Implementation of the GDI+ API"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="MIT"
homepage="http://www.mono-project.com/"
distfiles="https://github.com/mono/${pkgname}/archive/${version}.tar.gz"
checksum=9a5e3f98018116f99361520348e9713cd05680c231d689a83d87acfaf237d3a8
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
}
}