void-packages/srcpkgs/pstoedit/template
John 4af4ccd61f New package: pstoedit-3.70
Closes: #12518 [via git-merge-pr]
2018-03-14 18:17:13 +00:00

33 lines
872 B
Bash

# Template file for 'pstoedit'
pkgname=pstoedit
version=3.70
revision=1
build_style=gnu-configure
hostmakedepends="ghostscript pkg-config"
makedepends="libmagick-devel"
short_desc="PostScript and PDF graphics into other vector formats translator"
maintainer="John <johnz@posteo.net>"
license="GPL-2-or-later"
homepage="http://www.pstoedit.net/"
distfiles="${SOURCEFORGE_SITE}/pstoedit/pstoedit-${version}.tar.gz"
checksum=06b86113f7847cbcfd4e0623921a8763143bbcaef9f9098e6def650d1ff8138c
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
}
}