void-packages/srcpkgs/pstoedit/template
2018-09-15 18:59:04 +02:00

34 lines
968 B
Bash

# Template file for 'pstoedit'
pkgname=pstoedit
version=3.73
revision=3
build_style=gnu-configure
hostmakedepends="ghostscript pkg-config"
makedepends="libXext-devel libmagick-devel libxml2-devel"
short_desc="PostScript and PDF graphics into other vector formats translator"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later"
#changelog="http://www.calvina.de/pstoedit/changelog.htm"
homepage="http://www.pstoedit.net/"
distfiles="${SOURCEFORGE_SITE}/pstoedit/pstoedit-${version}.tar.gz"
checksum=ad31d13bf4dd1b9e2590dccdbe9e4abe74727aaa16376be85cd5d854f79bf290
libpstoedit_package() {
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove "usr/lib/pstoedit/*.so.*"
}
}
pstoedit-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/pstoedit/*.so"
vmove usr/share/aclocal
}
}