void-packages/srcpkgs/libwpg/template

30 lines
785 B
Bash

# Template file for 'libwpg'
pkgname=libwpg
version=0.3.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libwpd-devel librevenge-devel"
short_desc="Library for importing WordPerfect Graphics"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MPL-2.0, LGPL-2.1-or-later"
homepage="http://libwpg.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwpg/libwpg-${version}.tar.xz"
checksum=99b3f7f8832385748582ab8130fbb9e5607bd5179bebf9751ac1d51a53099d1c
libwpg-devel_package() {
depends="libwpg>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libwpg-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}