void-packages/srcpkgs/libgdiplus/template
2021-11-07 12:19:51 +01:00

32 lines
869 B
Bash

# Template file for 'libgdiplus'
pkgname=libgdiplus
version=6.1
revision=1
build_style=gnu-configure
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://download.mono-project.com/sources/libgdiplus-1.1/libgdiplus-${version}.tar.gz"
checksum=97d5a83d6d6d8f96c27fb7626f4ae11d3b38bc88a1726b4466aeb91451f3255b
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
}
}