void-packages/srcpkgs/libwpg/template
2017-10-18 19:14:27 +02:00

30 lines
775 B
Bash

# Template file for 'libwpg'
pkgname=libwpg
version=0.3.2
revision=1
build_style=gnu-configure
short_desc="Library for importing WordPerfect Graphics"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL-2.0, LGPL-2.1"
makedepends="libwpd-devel librevenge-devel"
hostmakedepends="pkg-config"
homepage="http://libwpg.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwpg/libwpg-${version}.tar.xz"
checksum=57faf1ab97d63d57383ac5d7875e992a3d190436732f4083310c0471e72f8c33
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
}
}