void-packages/srcpkgs/libgdiplus/template

33 lines
898 B
Text
Raw Normal View History

# Template file for 'libgdiplus'
pkgname=libgdiplus
version=2.10.9
revision=2
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"
patch_args="-Np1"
short_desc="An Open Source Implementation of the GDI+ API"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.go-mono.org"
license="LGPL-2, MPL"
distfiles="http://download.mono-project.com/sources/${pkgname}/$pkgname-$version.tar.bz2"
checksum=6ddeb6c327bada7cb6e06d1a20714f526a0c69520dfd42c12ddd032c3c5d964e
libgdiplus_package() {
pkg_install() {
vmove "usr/lib/*.so*"
}
}
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
}
}