void-packages/srcpkgs/libwpg/template

31 lines
775 B
Bash

# Template file for 'libwpg'
pkgname=libwpg
version=0.3.0
revision=2
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=6f709199235f4c061c3ffe1a5112ce6430e8434e621bf7b3e3dca16114eaf224
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
}
}